@@ -46,11 +46,11 @@ |
||
| 46 | 46 | $offset = ($page - 1) * $limit; |
| 47 | 47 | |
| 48 | 48 | $logSearch = LogSearchHelper::get($database)->limit($limit, $offset); |
| 49 | - if($filterUser !== null){ |
|
| 49 | + if($filterUser !== null) { |
|
| 50 | 50 | $logSearch->byUser(User::getByUsername($filterUser, $database)->getId()); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - if($filterAction !== null){ |
|
| 53 | + if($filterAction !== null) { |
|
| 54 | 54 | $logSearch->byAction($filterAction); |
| 55 | 55 | } |
| 56 | 56 | |
@@ -125,7 +125,8 @@ |
||
| 125 | 125 | * @category Security-Critical |
| 126 | 126 | * @return SecurityConfiguration |
| 127 | 127 | */ |
| 128 | - public function asNone() { |
|
| 128 | + public function asNone() |
|
| 129 | + { |
|
| 129 | 130 | $config = new SecurityConfiguration(); |
| 130 | 131 | |
| 131 | 132 | return $config; |