Skip to content

Commit 60b2009

Browse files
ubtashtonchriskacerguis
authored andcommitted
style fixes for #1159
1 parent 0524588 commit 60b2009

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/RestController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ protected function _detect_api_key()
880880
return false;
881881
}
882882

883-
if ($this->config->item('rest_keys_expire')===true && $row->{$this->config->item('rest_keys_expiry_column')} < time()) {
883+
if ($this->config->item('rest_keys_expire') === true && $row->{$this->config->item('rest_keys_expiry_column')} < time()) {
884884
return false;
885885
}
886886

src/rest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,9 @@
355355
| REST Table Key Expiry Config and Column Name
356356
|--------------------------------------------------------------------------
357357
|
358-
| Configure wether or not api keys should expire, and the column name to
358+
| Configure wether or not api keys should expire, and the column name to
359359
| match e.g. expires
360-
| Note: the value in the column will be treated as a unix timestamp and
360+
| Note: the value in the column will be treated as a unix timestamp and
361361
| compared with php function time()
362362
|
363363
*/

0 commit comments

Comments
 (0)