Skip to content

Commit

Permalink
Fix(): Deprecated: explode(): Passing null to parameter #2 ($string) …
Browse files Browse the repository at this point in the history
…of type string is deprecated
  • Loading branch information
annuh committed Dec 1, 2021
1 parent 1599f05 commit 8b271f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function parseIncludes($includes)
}

foreach ($includes as $include) {
list($includeName, $allModifiersStr) = array_pad(explode(':', $include, 2), 2, null);
list($includeName, $allModifiersStr) = array_pad(explode(':', $include, 2), 2, '');
list($allModifiersStr, $subRelations) = array_pad(explode('.', $allModifiersStr, 2), 2, null);

// Trim it down to a cool level of recursion
Expand Down

0 comments on commit 8b271f9

Please sign in to comment.