for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jackal\Copycat\Writer;
/**
* Class JSONWriter
* @package Jackal\Copycat\Writer
*/
class JSONWriter extends ArrayWriter
{
* JSONWriter constructor.
* @param $jsonToWrite
public function __construct(&$jsonToWrite)
parent::__construct($jsonToWrite);
}
*
public function finish()
$this->outItems = json_encode($this->outItems);
json_encode($this->outItems)
string
array
$outItems
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..