public function testWithoutUsingStrict() { $collection = new Collection([1, 2, 3]); $this->assertSame([1, 3], $collection->without('2')->toArray()); $this->assertSame([1, 2, 3], $collection->without('2', true)->toArray()); $this->assertSame([1, 3], $collection->without(2, true)->toArray()); }