Created
June 26, 2013 14:12
-
-
Save RafaelKa/5867678 to your computer and use it in GitHub Desktop.
NetBeans 7.2 OsX :: Problem by Inline autocompletion tool. NOTE: this snippet works in other Class file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
$partyFromRepository = $accountFromRepository->getParty(); | |
if ($partyFromRepository instanceof \TYPO3\Party\Domain\Model\Person) { | |
/* @var $partyFromRepository \TYPO3\Party\Domain\Model\Person */ | |
// $partyFromRepository-> // here does not work | |
foreach ($something as $partyFromRepository) { | |
// $partyFromRepository-> // here works | |
} | |
} | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment