for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FilmTools\Films;
class Film extends FilmAbstract implements FilmInterface
{
/**
* @return string
*/
public function __toString()
$info = [
$this->getManufacturer(),
$this->getName(),
$this->getAsa()
];
return trim(implode(" ", array_filter($info)));
}
* @param string $name
public function setName( $name )
$this->name = $name;
return $this;
* @param string $manufacturer
public function setManufacturer( $manufacturer )
$this->manufacturer = $manufacturer;
* @param string $asa
public function setAsa( $asa )
$this->asa = $asa;
$asa
string
integer|null
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..
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..