File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 88use Dingo \Api \Event \ResponseIsMorphing ;
99use Dingo \Api \Event \ResponseWasMorphed ;
1010use Illuminate \Contracts \Support \Arrayable ;
11- use Symfony \Component \HttpFoundation \Cookie ;
1211use Illuminate \Http \Response as IlluminateResponse ;
1312use Illuminate \Events \Dispatcher as EventDispatcher ;
1413use Illuminate \Database \Eloquent \Model as EloquentModel ;
@@ -307,11 +306,11 @@ public function getMeta()
307306 /**
308307 * Add a cookie to the response.
309308 *
310- * @param \Symfony\Component\HttpFoundation\Cookie $cookie
309+ * @param \Symfony\Component\HttpFoundation\Cookie|mixed $cookie
311310 *
312311 * @return \Dingo\Api\Http\Response
313312 */
314- public function cookie (Cookie $ cookie )
313+ public function cookie ($ cookie )
315314 {
316315 return $ this ->withCookie ($ cookie );
317316 }
You can’t perform that action at this time.
0 commit comments