for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare ( strict_types = 1 );
namespace Ch0c01dxyz\InstaToken\Objects;
/**
* @author Egar Rizki <[email protected]>
*/
class UserId
{
* @var userId
protected $userId;
* UserId Constructor
*
* @param int
public function __construct ( int $uid )
$this->userId = $uid;
$uid
integer
Ch0c01dxyz\InstaToken\Objects\userId
$userId
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
}
* @return int
public function __toInt () : int
return $this->userId;
return $this->userId
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..