Commit f2159ded authored by David Surville's avatar David Surville
Browse files

[Anomalie] PHP Notice: Only variables should be passed by reference

parent 6759f3b5
Loading
Loading
Loading
Loading
+2 −1
Changes for src/UnicaenLdap/Entity/Entity.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -171,7 +171,8 @@ abstract class Entity
     */
    public function getKey()
    {
        return reset(self::getNodeParams($this->type));
        $params = self::getNodeParams($this->type);
        return reset($params);
    }

    /**