Skip to content

Commit b621b0e

Browse files
authored
[7.x] Add tests for Stringable. (#31690)
* Add tests for Stringable. * Fix StyleCI.
1 parent 15f9c74 commit b621b0e

File tree

2 files changed

+401
-13
lines changed

2 files changed

+401
-13
lines changed

src/Illuminate/Support/Stringable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public function matchAll($pattern)
348348
*/
349349
public function parseCallback($default = null)
350350
{
351-
return Str::parseCallback($this->value);
351+
return Str::parseCallback($this->value, $default);
352352
}
353353

354354
/**

0 commit comments

Comments
 (0)