@@ -17,7 +17,7 @@ |
||
| 17 | 17 | return $this; |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | - public function make($filterNames){ |
|
| 20 | + public function make($filterNames) { |
|
| 21 | 21 | $filters = array_map(function($name) { |
| 22 | 22 | if (is_string($name)) { |
| 23 | 23 | return $this->filterDict[$name]; |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | $out = $in; |
| 36 | 36 | |
| 37 | 37 | foreach ($this->pipelines as $propName => $pipeline) { |
| 38 | - $out = DotChainOperator::update($out, $propName, function ($in) use ($pipeline) { |
|
| 38 | + $out = DotChainOperator::update($out, $propName, function($in) use ($pipeline) { |
|
| 39 | 39 | return $pipeline->apply($in); |
| 40 | 40 | }); |
| 41 | 41 | } |
@@ -10,20 +10,20 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | class YourClass{ |
| 12 | 12 | |
| 13 | - /** @var string $m_SampleProperty define here what this variable is for, do this for every instance variable */ |
|
| 14 | - private $m_SampleProperty = ''; |
|
| 13 | + /** @var string $m_SampleProperty define here what this variable is for, do this for every instance variable */ |
|
| 14 | + private $m_SampleProperty = ''; |
|
| 15 | 15 | |
| 16 | - /** |
|
| 17 | - * Sample method |
|
| 18 | - * |
|
| 19 | - * Always create a corresponding docblock for each method, describing what it is for, |
|
| 20 | - * this helps the phpdocumentator to properly generator the documentation |
|
| 21 | - * |
|
| 22 | - * @param string $param1 A string containing the parameter, do this for each parameter to the function, make sure to make it descriptive |
|
| 23 | - * |
|
| 24 | - * @return string |
|
| 25 | - */ |
|
| 26 | - public function method1($param1){ |
|
| 27 | - return "Hello World"; |
|
| 28 | - } |
|
| 16 | + /** |
|
| 17 | + * Sample method |
|
| 18 | + * |
|
| 19 | + * Always create a corresponding docblock for each method, describing what it is for, |
|
| 20 | + * this helps the phpdocumentator to properly generator the documentation |
|
| 21 | + * |
|
| 22 | + * @param string $param1 A string containing the parameter, do this for each parameter to the function, make sure to make it descriptive |
|
| 23 | + * |
|
| 24 | + * @return string |
|
| 25 | + */ |
|
| 26 | + public function method1($param1){ |
|
| 27 | + return "Hello World"; |
|
| 28 | + } |
|
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | * |
| 9 | 9 | * @author yourname |
| 10 | 10 | */ |
| 11 | -class YourClass{ |
|
| 11 | +class YourClass { |
|
| 12 | 12 | |
| 13 | 13 | /** @var string $m_SampleProperty define here what this variable is for, do this for every instance variable */ |
| 14 | 14 | private $m_SampleProperty = ''; |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * |
| 24 | 24 | * @return string |
| 25 | 25 | */ |
| 26 | - public function method1($param1){ |
|
| 26 | + public function method1($param1) { |
|
| 27 | 27 | return "Hello World"; |
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |