for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace ProxyManagerTestAsset;
/**
* Base test class to verify that proxies actually modify the array keys of
* public properties that keep an array
*
* @author Marco Pivetta <[email protected]>
* @license MIT
*/
class ClassWithPublicArrayPropertyAccessibleViaMethod
{
/** @var mixed[] */
public $arrayProperty = [];
/** @return mixed[] */
public function getArrayProperty() : array
return $this->arrayProperty;
}