Completed
Push — master ( 0c75f6...35d3bb )
by Stéphane
14:38
created
src/Taxonomy/TaxonomyTrait.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,6 +16,10 @@  discard block
 block discarded – undo
16 16
 {
17 17
     /**
18 18
      * Declared by Eloquent Model
19
+     * @param string $related
20
+     * @param string $name
21
+     * @param string $table
22
+     * @param string $otherKey
19 23
      */
20 24
     abstract public function morphToMany(
21 25
         $related,
@@ -33,6 +37,7 @@  discard block
 block discarded – undo
33 37
 
34 38
     /**
35 39
      * Declared by Eloquent Model
40
+     * @return string|null
36 41
      */
37 42
     abstract public function getKey();
38 43
 
Please login to merge, or discard this patch.
src/Translation/I18N.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * Load a language file
187 187
      *
188 188
      * @param  string $language
189
-     * @return bool
189
+     * @return boolean|null
190 190
      */
191 191
     public function loadLanguage($language)
192 192
     {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
     /**
219 219
      * Get the current language id
220
-     * @return int
220
+     * @return string
221 221
      */
222 222
     public function getCurrentId()
223 223
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * Set the language to use
229 229
      *
230 230
      * @param  string $language
231
-     * @return bool
231
+     * @return boolean|null
232 232
      */
233 233
     public function setLanguage($language)
234 234
     {
@@ -349,6 +349,10 @@  discard block
 block discarded – undo
349 349
         return $languages;
350 350
     }
351 351
 
352
+    /**
353
+     * @param string $context
354
+     * @param string $language
355
+     */
352 356
     protected function translateGetString($context, $language, $string_id)
353 357
     {
354 358
         $row = Translation::select('text')
Please login to merge, or discard this patch.
src/Utilities/ParentChildTree.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@
 block discarded – undo
80 80
         }
81 81
     }
82 82
 
83
+    /**
84
+     * @param integer $beginning_with
85
+     */
83 86
     protected function ungracefulExit($beginning_with, $tree_data)
84 87
     {
85 88
         if ($beginning_with == count($tree_data)) {
Please login to merge, or discard this patch.
src/Entities/Entity.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 use InvalidArgumentException;
7 7
 use Rocket\Entities\Exceptions\EntityNotFoundException;
8 8
 use Rocket\Entities\Exceptions\InvalidFieldTypeException;
9
-use Rocket\Entities\Exceptions\NonExistentFieldException;
10 9
 use Rocket\Entities\Exceptions\NoPublishedRevisionForLanguageException;
11 10
 use Rocket\Entities\Exceptions\NoRevisionForLanguageException;
11
+use Rocket\Entities\Exceptions\NonExistentFieldException;
12 12
 use Rocket\Entities\Exceptions\ReservedFieldNameException;
13 13
 
14 14
 /**
Please login to merge, or discard this patch.