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 LocationId
{
* @var locationId
protected $locationId;
* Location ID constructor
*
* @param int $lid
public function __construct ( int $lid )
$this->locationId = $lid;
$lid
integer
Ch0c01dxyz\InstaToken\Objects\locationId
$locationId
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->locationId;
return $this->locationId
public function __toString () : string
return ( string ) $this->locationId;
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..