Skip to content

Commit

Permalink
Fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinsarca committed Dec 27, 2024
1 parent d3ccc67 commit d0784a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public static function createClosure(string $args, string $body): Closure
// make sure we are registered
self::$init || self::init();

$header = "/* created with " . self::class . "::" . __METHOD__ . "() */";
$header = "/* created with " . __METHOD__ . "() */";
$body = "static function (" . $args . ") {\n" . $body . "\n}";

if (!($info = ClosureInfo::resolve(ClosureInfo::createKey($header, $body)))) {
Expand Down

0 comments on commit d0784a1

Please sign in to comment.