Passed
Push — master ( c7d5a7...591597 )
by Lorenzo
17:22
created
src/Version.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * createForModel
97
-     * @param Versionable|Model $model
97
+     * @param Model $model
98 98
      * @return Version
99 99
      * @throws NotVersionableModel
100 100
      */
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
     /**
132 132
      * diff
133
-     * @param Versionable|Model|null $model
133
+     * @param null|Model $model
134 134
      *
135 135
      * @return string
136 136
      * @throws NotVersionableModel
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     {
103 103
         if (!in_array(Versionable::class, class_uses($model), true)) {
104 104
             throw new NotVersionableModel(
105
-                "{$model} not use Versionable " . config('versionable.version_model')
105
+                "{$model} not use Versionable ".config('versionable.version_model')
106 106
             );
107 107
         }
108 108
         $versionClass = $model->getVersionModel();
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,14 +24,14 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function boot(): void
26 26
     {
27
-        $this->loadMigrationsFrom(__DIR__ . '/../migrations');
27
+        $this->loadMigrationsFrom(__DIR__.'/../migrations');
28 28
 
29 29
         $this->publishes([
30
-            __DIR__ . '/../migrations' => database_path('migrations'),
30
+            __DIR__.'/../migrations' => database_path('migrations'),
31 31
         ], 'migrations');
32 32
 
33 33
         $this->publishes([
34
-            __DIR__ . '/../config/versionable.php' => config_path('versionable.php'),
34
+            __DIR__.'/../config/versionable.php' => config_path('versionable.php'),
35 35
         ], 'config');
36 36
     }
37 37
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     public function register(): void
42 42
     {
43 43
         $this->mergeConfigFrom(
44
-            __DIR__ . '/../config/versionable.php',
44
+            __DIR__.'/../config/versionable.php',
45 45
             'versionable'
46 46
         );
47 47
     }
Please login to merge, or discard this patch.