@@ -33,8 +33,8 @@ |
||
| 33 | 33 | { |
| 34 | 34 | parent::__construct('address'); |
| 35 | 35 | |
| 36 | - if (isset($attributes[ 'id' ])) { |
|
| 37 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 36 | + if (isset($attributes['id'])) { |
|
| 37 | + $this->entity->setEntityName($attributes['id']); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (count($attributes)) { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | if ( ! $this->hasItem($column->entity->getEntityName())) { |
| 76 | 76 | $this->childNodes[] = $column; |
| 77 | 77 | $this->childNodes->last(); |
| 78 | - $this->childNodesEntities[ $this->childNodes->key() ] = $column->entity->getEntityName(); |
|
| 78 | + $this->childNodesEntities[$this->childNodes->key()] = $column->entity->getEntityName(); |
|
| 79 | 79 | } |
| 80 | 80 | } |
| 81 | 81 | |
@@ -44,8 +44,8 @@ |
||
| 44 | 44 | parent::__construct('div'); |
| 45 | 45 | $this->attributes->addAttributeClass('container'); |
| 46 | 46 | |
| 47 | - if (isset($attributes[ 'id' ])) { |
|
| 48 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 47 | + if (isset($attributes['id'])) { |
|
| 48 | + $this->entity->setEntityName($attributes['id']); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | if (count($attributes)) { |
@@ -30,8 +30,8 @@ |
||
| 30 | 30 | { |
| 31 | 31 | parent::__construct('div'); |
| 32 | 32 | |
| 33 | - if (isset($attributes[ 'id' ])) { |
|
| 34 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 33 | + if (isset($attributes['id'])) { |
|
| 34 | + $this->entity->setEntityName($attributes['id']); |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | $this->setSizingClassPrefix('col'); |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | { |
| 34 | 34 | parent::__construct('kbd'); |
| 35 | 35 | |
| 36 | - if (isset($attributes[ 'id' ])) { |
|
| 37 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 36 | + if (isset($attributes['id'])) { |
|
| 37 | + $this->entity->setEntityName($attributes['id']); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (count($attributes)) { |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | { |
| 34 | 34 | parent::__construct('samp'); |
| 35 | 35 | |
| 36 | - if (isset($attributes[ 'id' ])) { |
|
| 37 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 36 | + if (isset($attributes['id'])) { |
|
| 37 | + $this->entity->setEntityName($attributes['id']); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (count($attributes)) { |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | { |
| 34 | 34 | parent::__construct('code'); |
| 35 | 35 | |
| 36 | - if (isset($attributes[ 'id' ])) { |
|
| 37 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 36 | + if (isset($attributes['id'])) { |
|
| 37 | + $this->entity->setEntityName($attributes['id']); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (count($attributes)) { |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | { |
| 34 | 34 | parent::__construct('var'); |
| 35 | 35 | |
| 36 | - if (isset($attributes[ 'id' ])) { |
|
| 37 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 36 | + if (isset($attributes['id'])) { |
|
| 37 | + $this->entity->setEntityName($attributes['id']); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (count($attributes)) { |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | { |
| 34 | 34 | parent::__construct('pre'); |
| 35 | 35 | |
| 36 | - if (isset($attributes[ 'id' ])) { |
|
| 37 | - $this->entity->setEntityName($attributes[ 'id' ]); |
|
| 36 | + if (isset($attributes['id'])) { |
|
| 37 | + $this->entity->setEntityName($attributes['id']); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (count($attributes)) { |