Passed
Push — master ( be7d37...35ce99 )
by Jordan
08:30
created
src/DirectiveServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@
 block discarded – undo
22 22
      */
23 23
     public function register()
24 24
     {
25
-        Blade::directive('vue', function ($expression) {
25
+        Blade::directive('vue', function($expression) {
26 26
             return VueDirective::start($expression);
27 27
         });
28 28
 
29
-        Blade::directive('endvue', function () {
29
+        Blade::directive('endvue', function() {
30 30
             return VueDirective::end();
31 31
         });
32 32
     }
Please login to merge, or discard this patch.
src/Element.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         $attributes = $this->renderAttributes();
49 49
 
50
-        return "<{$this->name}" . ( $attributes ? ' ' . $attributes : '' ) . '>';
50
+        return "<{$this->name}".($attributes ? ' '.$attributes : '').'>';
51 51
     }
52 52
 
53 53
     /**
Please login to merge, or discard this patch.
src/VueDirective.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     public static function start(string $expression) : string
24 24
     {
25
-         return "<?php echo \Jhoff\BladeVue\Component::start($expression); ?><div>";
25
+            return "<?php echo \Jhoff\BladeVue\Component::start($expression); ?><div>";
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      * Get package providers.
11 11
      *
12 12
      * @param \Illuminate\Foundation\Application $app
13
-     * @return array
13
+     * @return string[]
14 14
      */
15 15
     protected function getPackageProviders($app)
16 16
     {
Please login to merge, or discard this patch.
tests/Unit/VueDirectiveTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Jhoff\BladeVue\Testing\Unit;
4 4
 
5
-use Jhoff\BladeVue\Element;
6 5
 use Jhoff\BladeVue\VueDirective;
7 6
 use Jhoff\BladeVue\Testing\TestCase;
8 7
 
Please login to merge, or discard this patch.