Skip to content

Commit ebd693b

Browse files
committed
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent b959c23 commit ebd693b

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/BaseExtension.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ abstract class BaseExtension
2121
protected $customBlockRenderer;
2222

2323
/**
24-
* @param DocumentParsedEvent $event
24+
* @param DocumentParsedEvent $event
2525
*/
2626
public function onDocumentParsed(DocumentParsedEvent $event)
2727
{
@@ -50,7 +50,7 @@ public function onDocumentParsed(DocumentParsedEvent $event)
5050
}
5151

5252
/**
53-
* @param callable $callback
53+
* @param callable $callback
5454
* @return $this
5555
*/
5656
public function useCustomBlockRenderer($callback)
@@ -94,8 +94,8 @@ abstract protected function getLiteralContent($node);
9494
/**
9595
* Bind into a Commonmark V1 or V2 environment.
9696
*
97-
* @param $environment
98-
* @param string $renderMethod
97+
* @param $environment
98+
* @param string $renderMethod
9999
*/
100100
protected function bind($environment, $renderMethod)
101101
{

tests/BaseRendererTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function can_render_dark_and_light_themes()
314314
'blocks' => [[
315315
'id' => 'block_id_1',
316316
'highlighted' => 'some php 1',
317-
],[
317+
], [
318318
'id' => 'block_id_1_clone_0',
319319
'highlighted' => 'some php 2',
320320
]]
@@ -335,8 +335,6 @@ public function can_render_dark_and_light_themes()
335335
&& $request['blocks'][1]['id'] === 'block_id_1_clone_0';
336336
});
337337

338-
339-
340338
$expected = <<<EOT
341339
<pre><code class='' style=''>some php 1</code><code class='' style=''>some php 2</code></pre>
342340
@@ -345,7 +343,6 @@ public function can_render_dark_and_light_themes()
345343
$this->assertEquals($expected, $html);
346344
}
347345

348-
349346
/** @test */
350347
public function it_can_set_a_custom_renderer()
351348
{

0 commit comments

Comments
 (0)