Code improvements (#1649)
* use global namespace for faster lookups * phpstan level 5
This commit is contained in:
@@ -76,7 +76,7 @@ class ActivityQuery extends ProjectQuery
|
||||
*/
|
||||
public function getProject()
|
||||
{
|
||||
if (count($this->projects) > 0) {
|
||||
if (\count($this->projects) > 0) {
|
||||
return $this->projects[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user