Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
np25071984 committed Jan 11, 2025
1 parent 0075683 commit c6256c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ final class Container implements ContainerInterface
*/
public function __construct(?ContainerConfigInterface $config = null)
{
if (is_null($config)) {
if (null === $config) {
$config = ContainerConfig::create();
}

Expand Down
1 change: 0 additions & 1 deletion tests/Unit/ContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
*/
final class ContainerTest extends TestCase
{

public function testCanCreateWihtoutConfig(): void
{
$this->expectNotToPerformAssertions();
Expand Down

0 comments on commit c6256c4

Please sign in to comment.