Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit 71e84c8

Browse files
committed
Removed redundant parentheses
1 parent ac96f2e commit 71e84c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/TestAsset/FailingExceptionWithStringAsCodeFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ class FailingExceptionWithStringAsCodeFactory implements FactoryInterface
1717
*/
1818
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
1919
{
20-
throw (new ExceptionWithStringAsCode('There is an error'));
20+
throw new ExceptionWithStringAsCode('There is an error');
2121
}
2222
}

test/Tool/ConfigDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public function testDumpConfigFileReturnsContentsForConfigFileUsingUsingClassNot
329329

330330
$file = tempnam(sys_get_temp_dir(), 'ZSCLI');
331331
file_put_contents($file, $formatted);
332-
$test = include($file);
332+
$test = include $file;
333333
unlink($file);
334334

335335
self::assertEquals($test, $config);

0 commit comments

Comments
 (0)