1
0
Fork 0
php-language-server/tests/Validation/cases/memberCall1.php

16 lines
334 B
PHP

<?php
namespace MyNamespace;
class ParseErrorsTest
{
public function setAccount(AccountInterface $account)
{
// If the passed account is already proxied, use the actual account instead
// to prevent loops.
if ($account instanceof A) {
$account = $account->getAccount();
}
}
}