Completed
Push — master ( 974531...773161 )
by Asif
02:14
created
src/Compilers/ShortcodeCompiler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
 
131 131
     /**
132 132
      * Get Compiled Attributes.
133
-     * @return \Webwizo\Shortcodes\Shortcode
133
+     * @return Shortcode
134 134
      */
135 135
     protected function compileShortcode($matches)
136 136
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@
 block discarded – undo
352 352
             . '\\[\\/\\2\\]'            // Closing shortcode tag
353 353
             . ')?'
354 354
             . ')'
355
-            . '(\\]?)';                 // 6: Optional second closing brocket for escaping shortcodes: [[tag]]
355
+            . '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]
356 356
     }
357 357
 
358 358
     /**
Please login to merge, or discard this patch.
src/View/View.php 4 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * Create a new view instance.
21 21
      *
22 22
      * @param \Illuminate\View\Factory|Factory                           $factory
23
-     * @param \Illuminate\View\Compilers\EngineInterface|EngineInterface $engine
23
+     * @param EngineInterface $engine
24 24
      * @param  string                                                    $view
25 25
      * @param  string                                                    $path
26 26
      * @param  array                                                     $data
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Webwizo\ShortCodes\View;
2 2
 
3 3
 use ArrayAccess;
4
-use Closure;
5
-use Illuminate\Support\MessageBag;
6 4
 use Illuminate\Contracts\Support\Renderable;
7 5
 use Illuminate\View\View as IlluminateView;
8 6
 use Illuminate\View\Engines\EngineInterface;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $contents = $this->getContents();
74 74
         
75
-        if($this->shortcode->isStrip())
75
+        if ($this->shortcode->isStrip())
76 76
         {
77 77
             // strip content without shortcodes
78 78
             $contents = $this->shortcode->strip($contents);
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,7 @@
 block discarded – undo
76 76
         {
77 77
             // strip content without shortcodes
78 78
             $contents = $this->shortcode->strip($contents);
79
-        }
80
-        else
79
+        } else
81 80
         {
82 81
             // compile the shortcodes
83 82
             $contents = $this->shortcode->compile($contents);
Please login to merge, or discard this patch.