summaryrefslogtreecommitdiff
path: root/app/Core/Ldap/Group.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-13 21:02:32 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-13 21:02:32 -0500
commitf9c676cf81d5ba11685c1b9aa8cab2e24048b305 (patch)
treefe1b43a92fea9ccd3e8bd557e9fc24fe77a0cc18 /app/Core/Ldap/Group.php
parent2d85e0fab70db6fb242b83c8c03da122d3cd3ad8 (diff)
Change private properties to protected
Diffstat (limited to 'app/Core/Ldap/Group.php')
-rw-r--r--app/Core/Ldap/Group.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/Core/Ldap/Group.php b/app/Core/Ldap/Group.php
index e11e8ecd..634d47ee 100644
--- a/app/Core/Ldap/Group.php
+++ b/app/Core/Ldap/Group.php
@@ -16,10 +16,10 @@ class Group
/**
* Query
*
- * @access private
+ * @access protected
* @var Query
*/
- private $query;
+ protected $query;
/**
* Constructor
@@ -43,7 +43,8 @@ class Group
*/
public static function getGroups(Client $client, $query)
{
- $self = new self(new Query($client));
+ $className = get_called_class();
+ $self = new $className(new Query($client));
return $self->find($query);
}