@@ -115,6 +115,6 @@ |
||
115 | 115 | */ |
116 | 116 | protected function getCurrentPage(Request $request): int |
117 | 117 | { |
118 | - return !is_null($request->get('page')) ? (int)$request->get('page') : 1; |
|
118 | + return !is_null($request->get('page')) ? (int) $request->get('page') : 1; |
|
119 | 119 | } |
120 | 120 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @return array |
30 | 30 | */ |
31 | - /*public function getInlineParsers() |
|
31 | + /*public function getInlineParsers() |
|
32 | 32 | { |
33 | 33 | return [$this->parser]; |
34 | 34 | }*/ |
@@ -64,13 +64,13 @@ |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * Handle a login request to the application. |
|
68 | - * |
|
69 | - * @param \Illuminate\Http\Request $request |
|
70 | - * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\Response|\Illuminate\Http\JsonResponse |
|
71 | - * |
|
72 | - * @throws \Illuminate\Validation\ValidationException |
|
73 | - */ |
|
67 | + * Handle a login request to the application. |
|
68 | + * |
|
69 | + * @param \Illuminate\Http\Request $request |
|
70 | + * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\Response|\Illuminate\Http\JsonResponse |
|
71 | + * |
|
72 | + * @throws \Illuminate\Validation\ValidationException |
|
73 | + */ |
|
74 | 74 | public function login(Request $request) |
75 | 75 | { |
76 | 76 | $this->validateLogin($request); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | $breadcrumbs = $this->breadcrumbs->addCrumb( |
48 | 48 | $icon . e($category->title), |
49 | - route('discuss.category.show', ['slug' => $category->slug,'id' => $category->getKey()]) |
|
49 | + route('discuss.category.show', ['slug' => $category->slug, 'id' => $category->getKey()]) |
|
50 | 50 | ); |
51 | 51 | |
52 | 52 | return view('Discuss::category.show', compact('breadcrumbs', 'conversations', 'category')); |
@@ -54,7 +54,7 @@ |
||
54 | 54 | switch (gettype($value)) { |
55 | 55 | case 'int': |
56 | 56 | case 'integer': |
57 | - $model->value_int =$value; |
|
57 | + $model->value_int = $value; |
|
58 | 58 | $model->value_str = null; |
59 | 59 | $model->value_bool = null; |
60 | 60 |