1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-01 01:51:43 +02:00

Add default attribute to CollectionInterface

This commit is contained in:
Oliver Vogel
2022-06-18 16:07:36 +02:00
parent a7eb80f4f1
commit dc3253feef

View File

@@ -5,7 +5,7 @@ namespace Intervention\Image\Interfaces;
interface CollectionInterface interface CollectionInterface
{ {
public function push($item): CollectionInterface; public function push($item): CollectionInterface;
public function get(int $key); public function get(int $key, $default = null);
public function has(int $key); public function has(int $key);
public function first(); public function first();
public function last(); public function last();