You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type hinting doesn't seem to work for short doc comments,
Short tag example, uses mixed
/** @var int */
private $testInt = 0;
/**
* Set the value of testInt
*
* @param mixed $testInt
* @return self
*/
public function setTestInt($testInt): self
{
$this->testInt = $testInt;
return $this;
}
Multi line doc block seems to work great.
/**
* @var int
*/
private $testInt2 = 0;
/**
* Set the value of testInt2
*
* @param int $testInt2
* @return self
*/
public function setTestInt2(int $testInt2): self
{
$this->testInt2 = $testInt2;
return $this;
}
The text was updated successfully, but these errors were encountered:
The type hinting doesn't seem to work for short doc comments,
Short tag example, uses mixed
Multi line doc block seems to work great.
The text was updated successfully, but these errors were encountered: