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 CommentId
{
* @var commentId
protected $commentId;
* Comment ID constructor
*
* @param int $cid
public function __construct ( int $cid )
$this->commentId = $cid;
$cid
integer
Ch0c01dxyz\InstaToken\Objects\commentId
$commentId
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->commentId;
return $this->commentId
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..