Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
Dries Vints 2019-04-22 19:10:46 +00:00 committed by StyleCI Bot
parent 4f762cf361
commit de04af8e9b
8 changed files with 6 additions and 9 deletions

View File

@ -66,7 +66,7 @@ class EloquentUserProvider implements UserProvider
$model = $model->where($model->getAuthIdentifierName(), $identifier)->first();
if (! $model) {
return null;
return;
}
$rememberToken = $model->getRememberToken();

View File

@ -105,7 +105,7 @@ class Collection extends BaseCollection implements QueueableCollection
* @param array $path
* @return void
*/
protected function loadMissingRelation(Collection $models, array $path)
protected function loadMissingRelation(self $models, array $path)
{
$relation = array_splice($path, 0, 1);

View File

@ -160,7 +160,7 @@ trait ConditionallyLoadsAttributes
}
if ($this->resource->{$relationship} === null) {
return null;
return;
}
return value($value);

View File

@ -194,8 +194,6 @@ class DatabaseQueue extends Queue implements QueueContract
if ($job = $this->getNextAvailableJob($queue)) {
return $this->marshalJob($queue, $job);
}
return null;
});
}

View File

@ -84,7 +84,7 @@ class Comment extends Model
public function parent()
{
return $this->belongsTo(Comment::class);
return $this->belongsTo(self::class);
}
public function revisions()

View File

@ -53,7 +53,7 @@ class Comment extends Model
public function parent()
{
return $this->belongsTo(Comment::class);
return $this->belongsTo(self::class);
}
}

View File

@ -13,6 +13,5 @@ class NullableManager extends Manager
*/
public function getDefaultDriver()
{
return null;
}
}

View File

@ -1 +1 @@
<?php echo $__env->yieldContent('content'); ?>
<?php echo $__env->yieldContent('content');