@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * Create a new proxy instance. |
30 | 30 | * |
31 | - * @param \Illuminate\Collections\Enumerable $collection |
|
31 | + * @param \Spatie\CollectionMacros\Macros\TryCatch $collection |
|
32 | 32 | * @return void |
33 | 33 | */ |
34 | 34 | public function __construct(Enumerable $collection) |
@@ -77,6 +77,9 @@ discard block |
||
77 | 77 | return $this->collection; |
78 | 78 | } |
79 | 79 | |
80 | + /** |
|
81 | + * @param \Closure[] $callable |
|
82 | + */ |
|
80 | 83 | private function exceptionType($callable) |
81 | 84 | { |
82 | 85 | $reflection = new ReflectionFunction($callable); |