Change visibility from protected to private where possible
This commit is contained in:
parent
4796e1d5c5
commit
2d7db1ed83
|
|
@ -71,7 +71,7 @@ class Dispatcher implements DispatcherInterface
|
||||||
* @param mixed[] $dispatchables
|
* @param mixed[] $dispatchables
|
||||||
* @return DispatchStack
|
* @return DispatchStack
|
||||||
*/
|
*/
|
||||||
protected function getDispatchStack($dispatchables)
|
private function getDispatchStack($dispatchables)
|
||||||
{
|
{
|
||||||
$stack = new DispatchStack($this);
|
$stack = new DispatchStack($this);
|
||||||
foreach ($dispatchables as $dispatchable) {
|
foreach ($dispatchables as $dispatchable) {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ use WellRESTed\Transmission\TransmitterInterface;
|
||||||
class Server
|
class Server
|
||||||
{
|
{
|
||||||
/** @var mixed[] */
|
/** @var mixed[] */
|
||||||
protected $attributes = [];
|
private $attributes = [];
|
||||||
/** @var DispatcherInterface */
|
/** @var DispatcherInterface */
|
||||||
private $dispatcher;
|
private $dispatcher;
|
||||||
/** @var string|null attribute name for matched path variables */
|
/** @var string|null attribute name for matched path variables */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue