@@ -126,7 +126,7 @@ |
||
| 126 | 126 | /** |
| 127 | 127 | * Add a photo name to the photos array |
| 128 | 128 | * |
| 129 | - * @param $fileName |
|
| 129 | + * @param string $fileName |
|
| 130 | 130 | */ |
| 131 | 131 | public function addPhoto($fileName) |
| 132 | 132 | { |
@@ -58,6 +58,9 @@ |
||
| 58 | 58 | return $record; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $fobId |
|
| 63 | + */ |
|
| 61 | 64 | public static function lookupPartialTag($fobId) |
| 62 | 65 | { |
| 63 | 66 | $record = self::where('key_id', 'LIKE', '%' . strtoupper($fobId) . '%')->active()->first(); |
@@ -18,6 +18,9 @@ |
||
| 18 | 18 | return $this->belongsToMany('\BB\Entities\User')->withTimestamps(); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param string $name |
|
| 23 | + */ |
|
| 21 | 24 | public static function findByName($name) { |
| 22 | 25 | $role = self::where('name', $name)->first(); |
| 23 | 26 | if ($role) { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Record the start of a new session |
| 43 | 43 | * |
| 44 | - * @return \Illuminate\Http\Response |
|
| 44 | + * @return \Illuminate\Http\JsonResponse |
|
| 45 | 45 | * |
| 46 | 46 | * @SWG\Post( |
| 47 | 47 | * path="/acs/activity", |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | /** |
| 81 | 81 | * Update an ongoing activity |
| 82 | 82 | * |
| 83 | - * @return \Illuminate\Http\Response |
|
| 83 | + * @return \Illuminate\Http\JsonResponse |
|
| 84 | 84 | * |
| 85 | 85 | * @SWG\Put( |
| 86 | 86 | * path="/acs/activity/{activityId}", |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | /** |
| 104 | 104 | * Show the form for creating a new resource. |
| 105 | 105 | * |
| 106 | - * @return \Illuminate\Http\Response |
|
| 106 | + * @return \Illuminate\Http\JsonResponse |
|
| 107 | 107 | * |
| 108 | 108 | * @SWG\Delete( |
| 109 | 109 | * path="/acs/activity/{activityId}", |
@@ -3,9 +3,6 @@ |
||
| 3 | 3 | namespace BB\Http\Controllers; |
| 4 | 4 | |
| 5 | 5 | use BB\Entities\DetectedDevice; |
| 6 | -use Illuminate\Http\Request; |
|
| 7 | - |
|
| 8 | -use BB\Http\Requests; |
|
| 9 | 6 | use BB\Http\Controllers\Controller; |
| 10 | 7 | |
| 11 | 8 | class DetectedDevicesController extends Controller |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace BB\Http\Controllers; |
| 4 | 4 | |
| 5 | 5 | use BB\Entities\ACSNode; |
| 6 | -use BB\Http\Requests; |
|
| 7 | 6 | |
| 8 | 7 | class DeviceController extends Controller |
| 9 | 8 | { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * Store a newly created resource in storage. |
| 68 | 68 | * |
| 69 | - * @return Response |
|
| 69 | + * @return \Illuminate\Http\JsonResponse |
|
| 70 | 70 | * @throws ImageFailedException |
| 71 | 71 | * @throws \BB\Exceptions\FormValidationException |
| 72 | 72 | */ |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Illuminate\Contracts\Validation\UnauthorizedException; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | 8 | use Auth; |
| 9 | -use BB\Http\Requests; |
|
| 10 | 9 | |
| 11 | 10 | |
| 12 | 11 | class NotificationController extends Controller |
@@ -1,6 +1,5 @@ |
||
| 1 | 1 | <?php namespace BB\Http\Controllers; |
| 2 | 2 | |
| 3 | -use BB\Entities\Payment; |
|
| 4 | 3 | use BB\Entities\User; |
| 5 | 4 | use BB\Helpers\PayPalConfig; |
| 6 | 5 | use BB\Repo\PaymentRepository; |