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

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

parent 6759f3b5
......@@ -171,7 +171,8 @@ abstract class Entity
*/
public function getKey()
{
return reset(self::getNodeParams($this->type));
$params = self::getNodeParams($this->type);
return reset($params);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment