@@ -25,7 +25,6 @@ |
||
| 25 | 25 | |
| 26 | 26 | namespace App\Http\Controllers; |
| 27 | 27 | |
| 28 | -use App\Http\Requests; |
|
| 29 | 28 | use App\Http\Requests\AdminOnlyRequest; |
| 30 | 29 | use App\Models\Port; |
| 31 | 30 | use App\Models\User; |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | $related = $this->getRelation('deviceCountRelation')->first(); |
| 87 | 87 | |
| 88 | 88 | // then return the count directly |
| 89 | - return ($related) ? (int)$related->count : 0; |
|
| 89 | + return ($related) ? (int) $related->count : 0; |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | |