Skip to content

Commit

Permalink
Limit visibility of new member and method on StructureShape
Browse files Browse the repository at this point in the history
  • Loading branch information
jeskew committed Jun 30, 2015
1 parent 2635e44 commit bfc32a0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Api/StructureShape.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
*/
class StructureShape extends Shape
{
protected $members;
/**
* @var Shape[]
*/
private $members;

public function __construct(array $definition, ShapeMap $shapeMap)
{
Expand Down Expand Up @@ -65,7 +68,7 @@ public function getMember($name)
}


protected function generateMembersHash()
private function generateMembersHash()
{
$this->members = [];

Expand Down

0 comments on commit bfc32a0

Please sign in to comment.