for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ivol;
class ExecutionResult
{
/** @var array */
private $output;
/** @var int */
private $returnCode;
/**
* @param int $returnCode
* @param string $output
*/
public function __construct($returnCode, $output)
$this->returnCode = $returnCode;
$this->output = $output;
$output
string
array
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 string
public function getOutput()
return $this->output ? implode('\n', $this->output): '';
* @return int
public function getReturnCode()
return $this->returnCode;
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..