@@ -2,25 +2,25 @@ |
||
2 | 2 | |
3 | 3 | class DevHealthController extends Controller |
4 | 4 | { |
5 | - /** |
|
6 | - * @var array |
|
7 | - */ |
|
8 | - public static $allowed_actions = array( |
|
9 | - 'index' |
|
10 | - ); |
|
5 | + /** |
|
6 | + * @var array |
|
7 | + */ |
|
8 | + public static $allowed_actions = array( |
|
9 | + 'index' |
|
10 | + ); |
|
11 | 11 | |
12 | - /** |
|
13 | - * @return EnvironmentChecker |
|
14 | - * |
|
15 | - * @throws SS_HTTPResponse_Exception |
|
16 | - */ |
|
17 | - public function index() |
|
18 | - { |
|
19 | - // health check does not require permission to run |
|
12 | + /** |
|
13 | + * @return EnvironmentChecker |
|
14 | + * |
|
15 | + * @throws SS_HTTPResponse_Exception |
|
16 | + */ |
|
17 | + public function index() |
|
18 | + { |
|
19 | + // health check does not require permission to run |
|
20 | 20 | |
21 | - $checker = new EnvironmentChecker('health', 'Site health'); |
|
22 | - $checker->setErrorCode(500); |
|
21 | + $checker = new EnvironmentChecker('health', 'Site health'); |
|
22 | + $checker->setErrorCode(500); |
|
23 | 23 | |
24 | - return $checker; |
|
25 | - } |
|
24 | + return $checker; |
|
25 | + } |
|
26 | 26 | } |