@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | // autoload.php @generated by Composer |
4 | 4 | |
5 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
5 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
6 | 6 | |
7 | 7 | return ComposerAutoloaderInitbd4ffaa7f635a9733a3203fa90210d4e::getLoader(); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function setFile($file) |
58 | 58 | { |
59 | - $distFile = $file . '.dist'; |
|
59 | + $distFile = $file.'.dist'; |
|
60 | 60 | |
61 | 61 | if (file_exists($file)) { |
62 | 62 | $this->template = file_get_contents($file); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | $keys = array(); |
99 | 99 | |
100 | 100 | foreach ($this->values as $key => $value) { |
101 | - $keys[] = $this->openDelimiter . $key . $this->closeDelimiter; |
|
101 | + $keys[] = $this->openDelimiter.$key.$this->closeDelimiter; |
|
102 | 102 | } |
103 | 103 | |
104 | 104 | return str_replace($keys, $this->values, $this->template); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | return $this->copyArray($var); |
108 | 108 | } |
109 | 109 | // Scalar |
110 | - if (! is_object($var)) { |
|
110 | + if (!is_object($var)) { |
|
111 | 111 | return $var; |
112 | 112 | } |
113 | 113 | // Object |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | $filter->apply( |
190 | 190 | $object, |
191 | 191 | $property->getName(), |
192 | - function ($object) { |
|
192 | + function($object) { |
|
193 | 193 | return $this->recursiveCopy($object); |
194 | 194 | } |
195 | 195 | ); |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | { |
217 | 217 | $matched = $this->first( |
218 | 218 | $filterRecords, |
219 | - function (array $record) use ($var) { |
|
219 | + function(array $record) use ($var) { |
|
220 | 220 | /* @var TypeMatcher $matcher */ |
221 | 221 | $matcher = $record['matcher']; |
222 | 222 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | $oldCollection = $reflectionProperty->getValue($object); |
22 | 22 | |
23 | 23 | $newCollection = $oldCollection->map( |
24 | - function ($item) use ($objectCopier) { |
|
24 | + function($item) use ($objectCopier) { |
|
25 | 25 | return $objectCopier($item); |
26 | 26 | } |
27 | 27 | ); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -require_once(__DIR__ . '/../vendor/autoload.php'); |
|
2 | +require_once(__DIR__.'/../vendor/autoload.php'); |
|
3 | 3 | |
4 | 4 | use phpDocumentor\Reflection\DocBlockFactory; |
5 | 5 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require_once(__DIR__ . '/../../vendor/autoload.php'); |
|
3 | +require_once(__DIR__.'/../../vendor/autoload.php'); |
|
4 | 4 | |
5 | 5 | use phpDocumentor\Reflection\DocBlockFactory; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require_once(__DIR__ . '/../vendor/autoload.php'); |
|
3 | +require_once(__DIR__.'/../vendor/autoload.php'); |
|
4 | 4 | |
5 | 5 | use phpDocumentor\Reflection\DocBlock\Serializer; |
6 | 6 | use phpDocumentor\Reflection\DocBlockFactory; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -require_once(__DIR__ . '/../vendor/autoload.php'); |
|
2 | +require_once(__DIR__.'/../vendor/autoload.php'); |
|
3 | 3 | |
4 | 4 | use phpDocumentor\Reflection\DocBlockFactory; |
5 | 5 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | * In this example we demonstrate how you can add your own Tag using a Static Factory method in your Tag class. |
4 | 4 | */ |
5 | 5 | |
6 | -require_once(__DIR__ . '/../vendor/autoload.php'); |
|
6 | +require_once(__DIR__.'/../vendor/autoload.php'); |
|
7 | 7 | |
8 | 8 | use phpDocumentor\Reflection\DocBlock\Serializer; |
9 | 9 | use phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod; |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | */ |
105 | 105 | public function __toString() |
106 | 106 | { |
107 | - return (string)$this->description; |
|
107 | + return (string) $this->description; |
|
108 | 108 | } |
109 | 109 | } |
110 | 110 |