File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/Illuminate/Collections Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -690,8 +690,10 @@ public function intersectByKeys($items)
690
690
* Determine if the collection is empty or not.
691
691
*
692
692
* @phpstan-assert-if-true null $this->first()
693
+ * @phpstan-assert-if-true null $this->last()
693
694
*
694
695
* @phpstan-assert-if-false TValue $this->first()
696
+ * @phpstan-assert-if-false TValue $this->last()
695
697
*
696
698
* @return bool
697
699
*/
Original file line number Diff line number Diff line change @@ -366,8 +366,10 @@ public function ensure($type)
366
366
* Determine if the collection is not empty.
367
367
*
368
368
* @phpstan-assert-if-true TValue $this->first()
369
+ * @phpstan-assert-if-true TValue $this->last()
369
370
*
370
371
* @phpstan-assert-if-false null $this->first()
372
+ * @phpstan-assert-if-false null $this->last()
371
373
*
372
374
* @return bool
373
375
*/
You can’t perform that action at this time.
0 commit comments