Passed
Push — master ( 2cb081...93fa88 )
by Michael
02:27
created
src/RelatedPlusTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      * parseRelationNames('customer') returns [$user->customer()]
101 101
      * parseRelationNames('customer.contact') returns [$user->customer(), $user->customer->contact()]
102 102
      *
103
-     * @param $relationName
103
+     * @param string $relationName
104 104
      * @return Relation[]
105 105
      */
106 106
     protected function parseRelationNames($relationName)
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     /**
274 274
      * Add backticks to a table/column
275 275
      *
276
-     * @param $column
276
+     * @param string $column
277 277
      * @return string
278 278
      */
279 279
     private function addBackticks($column)
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
      * Replace SQL placeholders with '%s'
298 298
      *
299 299
      * @param Builder $builder
300
-     * @return mixed
300
+     * @return string
301 301
      */
302 302
     private function replacePlaceholders(Builder $builder)
303 303
     {
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
     /**
345 345
      * If the relation is one-to-many, just get the first related record
346 346
      *
347
-     * @param Builder|JoinClause $joinClause
347
+     * @param JoinClause $joinClause
348 348
      * @param string $column
349 349
      * @param HasMany|Relation $relation
350 350
      * @param string $table
Please login to merge, or discard this patch.