@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * @param string (optional) $identity |
| 48 | 48 | */ |
| 49 | 49 | public function __construct( $identity = null ) { |
| 50 | - $this->entity = $identity; |
|
| 50 | + $this->entity = $identity; |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
@@ -60,8 +60,8 @@ discard block |
||
| 60 | 60 | * @return self |
| 61 | 61 | */ |
| 62 | 62 | public function describe( $attribute, $characteristic ) { |
| 63 | - $this->scribe[ $attribute ] = $characteristic; |
|
| 64 | - return $this; |
|
| 63 | + $this->scribe[ $attribute ] = $characteristic; |
|
| 64 | + return $this; |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -73,10 +73,10 @@ discard block |
||
| 73 | 73 | * @return Composite |
| 74 | 74 | */ |
| 75 | 75 | public function compose( ArtisanInterface $artisan ) { |
| 76 | - $this->orchestrate( $this->aspect, $artisan ); |
|
| 77 | - return $artisan |
|
| 78 | - ->create( $this->entity ) |
|
| 79 | - ->actualize(); |
|
| 76 | + $this->orchestrate( $this->aspect, $artisan ); |
|
| 77 | + return $artisan |
|
| 78 | + ->create( $this->entity ) |
|
| 79 | + ->actualize(); |
|
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
@@ -89,8 +89,8 @@ discard block |
||
| 89 | 89 | * @return self |
| 90 | 90 | */ |
| 91 | 91 | public function with( $quality, $attributes = null ) { |
| 92 | - $this->aspect[ $quality ] = $attributes; |
|
| 93 | - return $this; |
|
| 92 | + $this->aspect[ $quality ] = $attributes; |
|
| 93 | + return $this; |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
@@ -103,8 +103,8 @@ discard block |
||
| 103 | 103 | * @param ArtisanInterface $artisan |
| 104 | 104 | */ |
| 105 | 105 | private function orchestrate( array $aspect, ArtisanInterface &$artisan ) { |
| 106 | - foreach( $aspect as $component => $params ) { |
|
| 107 | - $artisan->$component( $params ); |
|
| 108 | - } |
|
| 106 | + foreach( $aspect as $component => $params ) { |
|
| 107 | + $artisan->$component( $params ); |
|
| 108 | + } |
|
| 109 | 109 | } |
| 110 | 110 | } |