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
|
||||
* @return DispatchStack
|
||||
*/
|
||||
protected function getDispatchStack($dispatchables)
|
||||
private function getDispatchStack($dispatchables)
|
||||
{
|
||||
$stack = new DispatchStack($this);
|
||||
foreach ($dispatchables as $dispatchable) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ use WellRESTed\Transmission\TransmitterInterface;
|
|||
class Server
|
||||
{
|
||||
/** @var mixed[] */
|
||||
protected $attributes = [];
|
||||
private $attributes = [];
|
||||
/** @var DispatcherInterface */
|
||||
private $dispatcher;
|
||||
/** @var string|null attribute name for matched path variables */
|
||||
|
|
|
|||
Loading…
Reference in New Issue