Failed Conditions
Branch master (1fae15)
by Bas
08:59
created
src/Concerns/ManagesTransactions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -251,9 +251,9 @@
 block discarded – undo
251 251
     /**
252 252
      * Handle an exception encountered when running a transacted statement.
253 253
      *
254
-     * @param $e
255
-     * @param $currentAttempt
256
-     * @param $attempts
254
+     * @param Exception $e
255
+     * @param integer $currentAttempt
256
+     * @param integer $attempts
257 257
      * @return mixed
258 258
      */
259 259
     protected function handleTransactionException($e, $currentAttempt, $attempts)
Please login to merge, or discard this patch.
src/Connection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     /**
299 299
      * Run a select statement against the database.
300 300
      *
301
-     * @param string|FluentAQL $query
301
+     * @param FluentAQL $query
302 302
      * @param array $bindings
303 303
      * @param bool $useReadPdo
304 304
      * @param null|array $transactionCollections
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
     /**
360 360
      * Run an update statement against the database.
361 361
      *
362
-     * @param  string|FluentAQL  $query
362
+     * @param  FluentAQL  $query
363 363
      * @param  array   $bindings
364 364
      * @param  array|null   $transactionCollections
365 365
      * @return int
Please login to merge, or discard this patch.
src/Eloquent/Builder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * Update a record in the database.
32 32
      *
33 33
      * @param  array  $values
34
-     * @return int
34
+     * @return boolean
35 35
      */
36 36
     public function insert(array $values)
37 37
     {
Please login to merge, or discard this patch.
src/Query/Builder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@
 block discarded – undo
313 313
     /**
314 314
      * Add a raw "order by" clause to the query.
315 315
      *
316
-     * @param string|ExpressionInterface $aql
316
+     * @param \LaravelFreelancerNL\FluentAQL\Expressions\FunctionExpression $aql
317 317
      * @param array $bindings
318 318
      * @return $this
319 319
      */
Please login to merge, or discard this patch.
src/Query/Grammar.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,9 +82,9 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * @param Builder $builder
85
-     * @param $table
85
+     * @param string $table
86 86
      * @param string $postfix
87
-     * @return mixed
87
+     * @return Builder
88 88
      */
89 89
     protected function generateTableAlias($builder, $table, $postfix = 'Doc')
90 90
     {
@@ -93,6 +93,9 @@  discard block
 block discarded – undo
93 93
         return $builder;
94 94
     }
95 95
 
96
+    /**
97
+     * @param string $table
98
+     */
96 99
     protected function prefixTable($table)
97 100
     {
98 101
         return $this->tablePrefix.$table;
@@ -238,7 +241,7 @@  discard block
 block discarded – undo
238 241
      * Get an array of all the where clauses for the query.
239 242
      *
240 243
      * @param  \Illuminate\Database\Query\Builder  $builder
241
-     * @return array
244
+     * @return string
242 245
      */
243 246
     protected function compileWheresToArray($builder)
244 247
     {
@@ -542,7 +545,7 @@  discard block
 block discarded – undo
542 545
      * @param Builder $builder
543 546
      * @param string $target
544 547
      * @param string $value
545
-     * @return Builder
548
+     * @return string
546 549
      */
547 550
     protected function prefixAlias(Builder $builder, string $target, string $value) : string
548 551
     {
Please login to merge, or discard this patch.
src/Schema/Blueprint.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * Generate the compilation method name and call it if method exists in the Grammar object.
132 132
      *
133
-     * @param $command
133
+     * @param Fluent $command
134 134
      * @return mixed
135 135
      */
136 136
     public function compileAqlCommand($command)
@@ -613,6 +613,9 @@  discard block
 block discarded – undo
613 613
         return $this;
614 614
     }
615 615
 
616
+    /**
617
+     * @param string|null $algorithm
618
+     */
616 619
     public function mapIndexType($algorithm)
617 620
     {
618 621
         $typeConversion = [
Please login to merge, or discard this patch.