Skip to content

Commit

Permalink
Removed debug log line causing error
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdrosas87 committed Feb 22, 2024
1 parent cdbdeba commit 85b1615
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/laravel/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class Collection extends LaravelCollection

public function whereContainsIn($keys, $value, $strict = false)
{
Craft::info("Got inside of whereContainsIn()!", "lofi!");
$keys = $this->getArrayableItems($keys);

return $this->filter(function ($item) use ($keys, $value, $strict) {

Check failure on line 16 in src/lib/laravel/Collection.php

View workflow job for this annotation

GitHub Actions / PHPStan

Anonymous function has an unused use $strict.
Expand All @@ -21,9 +20,6 @@ public function whereContainsIn($keys, $value, $strict = false)

if (is_array($item)) {
$item = implode(', ', $item);
Craft::info("Logging: $list", "lofi!");
} else {
Craft::info("Logging: $item", "lofi!");
}

if (str_contains($item, $value)) {
Expand Down

0 comments on commit 85b1615

Please sign in to comment.