Skip to content

Commit 32d310d

Browse files
committed
typo
1 parent 3328cb6 commit 32d310d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/PhpGenerator/Printer.namespace.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $printer2->setTypeResolving(false);
4343
sameFile(__DIR__ . '/expected/Printer.namespace.unresolved.expect', $printer2->printNamespace($namespace));
4444

4545

46-
$function = new \Nette\PhpGenerator\GlobalFunction('func');
46+
$function = new Nette\PhpGenerator\GlobalFunction('func');
4747
$function
4848
->setReturnType('stdClass')
4949
->setBody('return 123;')

tests/PhpGenerator/Printer.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sameFile(__DIR__ . '/expected/Printer.class.expect', $printer->printClass($class
4848
sameFile(__DIR__ . '/expected/Printer.method.expect', $printer->printMethod($class->getMethod('first')));
4949

5050

51-
$function = new \Nette\PhpGenerator\GlobalFunction('func');
51+
$function = new Nette\PhpGenerator\GlobalFunction('func');
5252
$function
5353
->setReturnType('stdClass')
5454
->setBody('return 123;')
@@ -58,7 +58,7 @@ $function
5858
sameFile(__DIR__ . '/expected/Printer.function.expect', $printer->printFunction($function));
5959

6060

61-
$closure = new \Nette\PhpGenerator\Closure;
61+
$closure = new Nette\PhpGenerator\Closure;
6262
$closure
6363
->setReturnType('stdClass')
6464
->setBody('return 123;')

0 commit comments

Comments
 (0)