File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ public function has(int|string $key): bool
265265 *
266266 * @throws AnimationException|VipsException
267267 */
268- public function push ($ item ): CollectionInterface
268+ public function push (mixed $ item ): CollectionInterface
269269 {
270270 return $ this ->add ($ item );
271271 }
@@ -275,7 +275,7 @@ public function push($item): CollectionInterface
275275 *
276276 * @see CollectionInterface::get()
277277 */
278- public function get (int |string $ key , $ default = null ): mixed
278+ public function get (int |string $ key , mixed $ default = null ): mixed
279279 {
280280 try {
281281 return $ this ->frame ($ key );
@@ -291,7 +291,7 @@ public function get(int|string $key, $default = null): mixed
291291 *
292292 * @throws Exception
293293 */
294- public function getAtPosition (int $ key = 0 , $ default = null ): mixed
294+ public function getAtPosition (int $ key = 0 , mixed $ default = null ): mixed
295295 {
296296 return $ this ->get ($ key , $ default );
297297 }
You can’t perform that action at this time.
0 commit comments