chore(lint): fixed codestyle

This commit is contained in:
2024-07-23 23:12:53 +03:00
parent 8a4839f7ea
commit 3b527cd35c
2 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
<?php namespace ivuorinen\BBCode; <?php
namespace ivuorinen\BBCode;
use \ivuorinen\BBCode\Traits\ArrayTrait; use \ivuorinen\BBCode\Traits\ArrayTrait;
@@ -108,7 +110,7 @@ class BBCodeParser
'youtube' => [ 'youtube' => [
'pattern' => '/\[youtube\](.*?)\[\/youtube\]/s', 'pattern' => '/\[youtube\](.*?)\[\/youtube\]/s',
'replace' => '<iframe width="560" height="315" src="//www.youtube.com/embed/$1"' . 'replace' => '<iframe width="560" height="315" src="//www.youtube.com/embed/$1"' .
' frameborder="0" allowfullscreen></iframe>', ' frameborder="0" allowfullscreen></iframe>',
'content' => '$1' 'content' => '$1'
], ],
'linebreak' => [ 'linebreak' => [

View File

@@ -1,4 +1,6 @@
<?php namespace ivuorinen\BBCode; <?php
namespace ivuorinen\BBCode;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;