Skip to content

Commit

Permalink
Improve formatting
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI

Co-Authored-By: StyleCI Bot <[email protected]>
  • Loading branch information
caendesilva and StyleCIBot committed Dec 1, 2024
1 parent 0d08cc5 commit 6dc0095
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/framework/tests/Unit/HeadingRendererUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ protected function createRealBladeCompilerEnvironment(): void
);
});

$finder = new FileViewFinder($filesystem, [realpath(__DIR__ . '/../../resources/views')]);
$finder->addNamespace('hyde', realpath(__DIR__ . '/../../resources/views'));
$finder = new FileViewFinder($filesystem, [realpath(__DIR__.'/../../resources/views')]);
$finder->addNamespace('hyde', realpath(__DIR__.'/../../resources/views'));

$view = new Factory($resolver, $finder, new Dispatcher());

Expand All @@ -63,8 +63,7 @@ protected function createRealBladeCompilerEnvironment(): void
protected function mockChildNodeRenderer(string $contents): ChildNodeRendererInterface
{
$childRenderer = Mockery::mock(ChildNodeRendererInterface::class);
$childRenderer->shouldReceive('renderNodes')
->andReturn($contents);
$childRenderer->shouldReceive('renderNodes')->andReturn($contents);

return $childRenderer;
}
Expand Down

0 comments on commit 6dc0095

Please sign in to comment.