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