Skip to content

Commit

Permalink
Merge pull request #6 from vedmant/analysis-qMZJgL
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
vedmant committed May 5, 2019
2 parents eb3c716 + 31a0f6d commit 6924477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if (! function_exists('shortcodes')) {

/**
* Render shortcodes
* Render shortcodes.
*
* @param string $string
* @return string|HtmlString
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/HelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Vedmant\LaravelShortcodes\Tests\Unit;

use Vedmant\LaravelShortcodes\Tests\Resources\BShortcode;
use Vedmant\LaravelShortcodes\Tests\TestCase;
use Vedmant\LaravelShortcodes\Tests\Resources\BShortcode;

class HelpersTest extends TestCase
{
Expand All @@ -17,6 +17,6 @@ public function testRenderWithHelper()
$this->manager->add('b', BShortcode::class);

$rendered = \shortcodes('[b class="test"]Content[/b]');
$this->assertEquals("<b class=\"test\">Content</b>", (string) $rendered);
$this->assertEquals('<b class="test">Content</b>', (string) $rendered);
}
}

0 comments on commit 6924477

Please sign in to comment.