@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use ArangoDBClient\Connection as ArangoDBConnection; |
| 10 | 10 | use ArangoDBClient\ConnectionOptions as ArangoDBConnectionOptions; |
| 11 | 11 | use ArangoDBClient\Document; |
| 12 | -use ArangoDBClient\Exception as ArangoException; |
|
| 13 | 12 | use ArangoDBClient\Exception; |
| 14 | 13 | use ArangoDBClient\Statement; |
| 15 | 14 | use ArangoDBClient\UpdatePolicy as ArangoDBUpdatePolicy; |
@@ -15,6 +15,7 @@ |
||
| 15 | 15 | { |
| 16 | 16 | /** |
| 17 | 17 | * @inheritdoc |
| 18 | + * @param string $id |
|
| 18 | 19 | */ |
| 19 | 20 | function attach($id, array $attributes = [], $touch = true) |
| 20 | 21 | { |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace sonrac\Arango\Eloquent\Reletations; |
| 10 | 10 | |
| 11 | 11 | use \Illuminate\Database\Eloquent\Relations\BelongsToMany as BelongsToManyBase; |
| 12 | -use Illuminate\Database\Query\Builder; |
|
| 13 | 12 | |
| 14 | 13 | class BelongsToMany extends BelongsToManyBase |
| 15 | 14 | { |
@@ -194,6 +194,7 @@ discard block |
||
| 194 | 194 | |
| 195 | 195 | /** |
| 196 | 196 | * @inheritdoc |
| 197 | + * @return string |
|
| 197 | 198 | */ |
| 198 | 199 | public function compileDelete(Builder $query) |
| 199 | 200 | { |
@@ -293,7 +294,7 @@ discard block |
||
| 293 | 294 | * |
| 294 | 295 | * @param Builder $query |
| 295 | 296 | * @param $aggregate |
| 296 | - * @param $aql |
|
| 297 | + * @param string $aql |
|
| 297 | 298 | * @return string |
| 298 | 299 | */ |
| 299 | 300 | protected function compileAggregateExtended(Builder $query, $aggregate, $aql) |
@@ -325,6 +326,7 @@ discard block |
||
| 325 | 326 | |
| 326 | 327 | /** |
| 327 | 328 | * @inheritdoc |
| 329 | + * @param Builder $query |
|
| 328 | 330 | */ |
| 329 | 331 | protected function concatenateWhereClauses($query, $sql) |
| 330 | 332 | { |
@@ -333,6 +335,7 @@ discard block |
||
| 333 | 335 | |
| 334 | 336 | /** |
| 335 | 337 | * @inheritdoc |
| 338 | + * @param Builder $query |
|
| 336 | 339 | */ |
| 337 | 340 | protected function compileWheresToArray($query) |
| 338 | 341 | { |
@@ -1,6 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace sonrac\Arango\Query\Processors; |
| 3 | -use ArangoDBClient\Cursor; |
|
| 4 | 3 | use ArangoDBClient\Document; |
| 5 | 4 | use Illuminate\Database\Query\Builder; |
| 6 | 5 | use \Illuminate\Database\Query\Processors\Processor as IlluminateProcessor; |
@@ -242,6 +242,7 @@ discard block |
||
| 242 | 242 | |
| 243 | 243 | /** |
| 244 | 244 | * @inheritdoc |
| 245 | + * @param string $operator |
|
| 245 | 246 | */ |
| 246 | 247 | public function where($column, $operator = null, $value = null, $boolean = 'and') |
| 247 | 248 | { |
@@ -319,6 +320,9 @@ discard block |
||
| 319 | 320 | |
| 320 | 321 | /** |
| 321 | 322 | * @inheritdoc |
| 323 | + * @param string $first |
|
| 324 | + * @param string $operator |
|
| 325 | + * @param string $second |
|
| 322 | 326 | */ |
| 323 | 327 | public function whereColumn($first, $operator = null, $second = null, $boolean = 'and') |
| 324 | 328 | { |
@@ -355,6 +359,7 @@ discard block |
||
| 355 | 359 | |
| 356 | 360 | /** |
| 357 | 361 | * @inheritdoc |
| 362 | + * @param string $column |
|
| 358 | 363 | */ |
| 359 | 364 | public function whereNull($column, $boolean = 'and', $not = false) |
| 360 | 365 | { |
@@ -496,6 +501,7 @@ discard block |
||
| 496 | 501 | |
| 497 | 502 | /** |
| 498 | 503 | * @inheritdoc |
| 504 | + * @param string $function |
|
| 499 | 505 | */ |
| 500 | 506 | public function aggregate($function, $columns = ['*']) |
| 501 | 507 | { |