summaryrefslogtreecommitdiff
path: root/app/php/user
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-03-16 22:56:13 +0100
committeremkael <emkael@tlen.pl>2016-03-16 22:56:13 +0100
commit75dc7a1df808ab2ca93ca96e299b06d90ebcedf6 (patch)
tree3c7671d8e47b5b68e534ad13ecb5acb9374d4272 /app/php/user
parentc5058d68713fc710c68488db726b05453e18d85d (diff)
* refactoring, code formatting
Diffstat (limited to 'app/php/user')
-rw-r--r--app/php/user/DbUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/php/user/DbUser.php b/app/php/user/DbUser.php
index c3b441b..730a1c0 100644
--- a/app/php/user/DbUser.php
+++ b/app/php/user/DbUser.php
@@ -48,7 +48,7 @@ class DbUser extends TDbUser {
}
public function __call($name, $args) {
- $match = array();
+ $match = [];
if (preg_match('/^getIs(.+)$/', $name, $match)) {
return $this->isInRole($match[1]);
}