1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-31 01:29:51 +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
{
public function push($item): CollectionInterface;
public function get(int $key);
public function get(int $key, $default = null);
public function has(int $key);
public function first();
public function last();