Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated phpdoc

  • Loading branch information...
commit 28b8edb61e8e176829d6f1782ebc68f20d4e36b9 1 parent 56cf6e4
@ElvenPath authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Translatable.php
View
2  Translatable.php
@@ -128,6 +128,7 @@ public function canSetProperty($name)
*/
public function beforeFind($event)
{
+ /** @noinspection PhpUndefinedFieldInspection */
if (!$this->getOwner()->skipTranslation) {
if (null === $this->allQueryLanguages) {
$currentLanguage = null == $this->queryLanguage ? $this->getLanguage() : $this->queryLanguage;
@@ -158,6 +159,7 @@ public function beforeFind($event)
*/
public function beforeCount($event)
{
+ /** @noinspection PhpUndefinedFieldInspection */
if (!$this->getOwner()->skipTranslation) {
if (null === $this->allQueryLanguages) {
$currentLanguage = null == $this->queryLanguage ? $this->getLanguage() : $this->queryLanguage;
Please sign in to comment.
Something went wrong with that request. Please try again.