Test Setup Failed
Push — master ( 11eaba...b1aa31 )
by Tom
63:59
created
src/Translatable/Translatable.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 
180 180
     /**
181 181
      * @param string $key
182
-     * @param mixed  $value
182
+     * @param string  $value
183 183
      *
184 184
      * @return $this
185 185
      */
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     }
284 284
 
285 285
     /**
286
-     * @param null $locale
286
+     * @param string $locale
287 287
      *
288 288
      * @return string
289 289
      */
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
633 633
     /**
634 634
      * Set the default locale on the model.
635 635
      *
636
-     * @param $locale
636
+     * @param string|null $locale
637 637
      *
638 638
      * @return $this
639 639
      */
Please login to merge, or discard this patch.
tests/TestsBase.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,11 +41,17 @@  discard block
 block discarded – undo
41 41
         $seeder->run();
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $dbName
46
+     */
44 47
     private function makeSureDatabaseExists($dbName)
45 48
     {
46 49
         $this->runQuery('CREATE DATABASE IF NOT EXISTS '.$dbName);
47 50
     }
48 51
 
52
+    /**
53
+     * @param string $dbConnectionName
54
+     */
49 55
     private function makeSureSchemaIsCreated($dbConnectionName)
50 56
     {
51 57
         $migrationsPath = '../../../../tests/migrations';
@@ -58,6 +64,9 @@  discard block
 block discarded – undo
58 64
         ]);
59 65
     }
60 66
 
67
+    /**
68
+     * @param string $dbName
69
+     */
61 70
     private function truncateAllTablesButMigrations($dbName)
62 71
     {
63 72
         $db = $this->app->make('db');
@@ -73,7 +82,7 @@  discard block
 block discarded – undo
73 82
     }
74 83
 
75 84
     /**
76
-     * @param $query
85
+     * @param string $query
77 86
      * return void
78 87
      */
79 88
     private function runQuery($query)
Please login to merge, or discard this patch.