@@ -341,6 +341,10 @@ |
||
| 341 | 341 | return $file; |
| 342 | 342 | } |
| 343 | 343 | |
| 344 | + /** |
|
| 345 | + * @param string $class |
|
| 346 | + * @param string $ext |
|
| 347 | + */ |
|
| 344 | 348 | private function findFileWithExtension($class, $ext) |
| 345 | 349 | { |
| 346 | 350 | // PSR-4 lookup |
@@ -271,7 +271,6 @@ |
||
| 271 | 271 | * Sets the text portion (short and long description combined) of the doc |
| 272 | 272 | * block. |
| 273 | 273 | * |
| 274 | - * @param string $docblock The new text portion of the doc block. |
|
| 275 | 274 | * |
| 276 | 275 | * @return $this This doc block. |
| 277 | 276 | */ |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * phpDocumentor |
|
| 4 | - * |
|
| 5 | - * PHP Version 5.3 |
|
| 6 | - * |
|
| 7 | - * @author Mike van Riel <[email protected]> |
|
| 8 | - * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | - * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | - * @link http://phpdoc.org |
|
| 11 | - */ |
|
| 3 | + * phpDocumentor |
|
| 4 | + * |
|
| 5 | + * PHP Version 5.3 |
|
| 6 | + * |
|
| 7 | + * @author Mike van Riel <[email protected]> |
|
| 8 | + * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | + * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | + * @link http://phpdoc.org |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\DocBlock\Type; |
| 14 | 14 | |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * |
| 47 | - * @param type $lineNumber |
|
| 47 | + * @param integer $lineNumber |
|
| 48 | 48 | * @return $this |
| 49 | 49 | */ |
| 50 | 50 | public function setLineNumber($lineNumber) |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * phpDocumentor |
|
| 4 | - * |
|
| 5 | - * PHP Version 5.3 |
|
| 6 | - * |
|
| 7 | - * @author Vasil Rangelov <[email protected]> |
|
| 8 | - * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | - * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | - * @link http://phpdoc.org |
|
| 11 | - */ |
|
| 3 | + * phpDocumentor |
|
| 4 | + * |
|
| 5 | + * PHP Version 5.3 |
|
| 6 | + * |
|
| 7 | + * @author Vasil Rangelov <[email protected]> |
|
| 8 | + * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | + * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | + * @link http://phpdoc.org |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\DocBlock\Tag; |
| 14 | 14 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Sets the string to indent comments with. |
| 63 | 63 | * |
| 64 | - * @param string $indentationString The string to indent comments with. |
|
| 64 | + * @param string $indentString The string to indent comments with. |
|
| 65 | 65 | * |
| 66 | 66 | * @return $this This serializer object. |
| 67 | 67 | */ |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | /** |
| 162 | 162 | * Generate a DocBlock comment. |
| 163 | 163 | * |
| 164 | - * @param DocBlock The DocBlock to serialize. |
|
| 164 | + * @param DocBlock DocBlock to serialize. |
|
| 165 | 165 | * |
| 166 | 166 | * @return string The serialized doc block. |
| 167 | 167 | */ |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * phpDocumentor |
|
| 4 | - * |
|
| 5 | - * PHP Version 5.3 |
|
| 6 | - * |
|
| 7 | - * @author Barry vd. Heuvel <[email protected]> |
|
| 8 | - * @copyright 2013 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | - * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | - * @link http://phpdoc.org |
|
| 11 | - */ |
|
| 3 | + * phpDocumentor |
|
| 4 | + * |
|
| 5 | + * PHP Version 5.3 |
|
| 6 | + * |
|
| 7 | + * @author Barry vd. Heuvel <[email protected]> |
|
| 8 | + * @copyright 2013 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | + * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | + * @link http://phpdoc.org |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\DocBlock; |
| 14 | 14 | |
@@ -56,7 +56,6 @@ |
||
| 56 | 56 | * |
| 57 | 57 | * @param string[] $types Array containing a list of types to add to this |
| 58 | 58 | * container. |
| 59 | - * @param Context $location The current invoking location. |
|
| 60 | 59 | */ |
| 61 | 60 | public function __construct( |
| 62 | 61 | array $types = array(), |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * phpDocumentor |
|
| 4 | - * |
|
| 5 | - * PHP Version 5.3 |
|
| 6 | - * |
|
| 7 | - * @author Mike van Riel <[email protected]> |
|
| 8 | - * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | - * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | - * @link http://phpdoc.org |
|
| 11 | - */ |
|
| 3 | + * phpDocumentor |
|
| 4 | + * |
|
| 5 | + * PHP Version 5.3 |
|
| 6 | + * |
|
| 7 | + * @author Mike van Riel <[email protected]> |
|
| 8 | + * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) |
|
| 9 | + * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | + * @link http://phpdoc.org |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\DocBlock\Type; |
| 14 | 14 | |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * @param string $exContent |
| 32 | 32 | * @param string $exStartingLine |
| 33 | 33 | * @param string $exLineCount |
| 34 | - * @param string $exFilepath |
|
| 34 | + * @param string $exFilePath |
|
| 35 | 35 | * |
| 36 | 36 | * @covers \phpDocumentor\Reflection\DocBlock\Tag\ExampleTag |
| 37 | 37 | * @dataProvider provideDataForConstuctor |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * phpDocumentor Example Tag Test |
|
| 4 | - * |
|
| 5 | - * PHP version 5.3 |
|
| 6 | - * |
|
| 7 | - * @author Vasil Rangelov <[email protected]> |
|
| 8 | - * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com) |
|
| 9 | - * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | - * @link http://phpdoc.org |
|
| 11 | - */ |
|
| 3 | + * phpDocumentor Example Tag Test |
|
| 4 | + * |
|
| 5 | + * PHP version 5.3 |
|
| 6 | + * |
|
| 7 | + * @author Vasil Rangelov <[email protected]> |
|
| 8 | + * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com) |
|
| 9 | + * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | + * @link http://phpdoc.org |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\DocBlock\Tag; |
| 14 | 14 | |
@@ -312,6 +312,9 @@ |
||
| 312 | 312 | public $errors; |
| 313 | 313 | public $value = null; |
| 314 | 314 | |
| 315 | + /** |
|
| 316 | + * @param string $value |
|
| 317 | + */ |
|
| 315 | 318 | public function __construct($value) |
| 316 | 319 | { |
| 317 | 320 | $this->value = $value; |
@@ -304,7 +304,7 @@ |
||
| 304 | 304 | |
| 305 | 305 | class ObjectProphecySpecFixtureA |
| 306 | 306 | { |
| 307 | - public $errors; |
|
| 307 | + public $errors; |
|
| 308 | 308 | } |
| 309 | 309 | |
| 310 | 310 | class ObjectProphecySpecFixtureB extends ObjectProphecySpecFixtureA |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | /** |
| 46 | 46 | * Scores 10 if argument matches preset value. |
| 47 | 47 | * |
| 48 | - * @param $argument |
|
| 48 | + * @param string $argument |
|
| 49 | 49 | * |
| 50 | 50 | * @return bool|int |
| 51 | 51 | */ |
@@ -126,6 +126,9 @@ |
||
| 126 | 126 | ); |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $methodName |
|
| 131 | + */ |
|
| 129 | 132 | private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName, |
| 130 | 133 | array $arguments) |
| 131 | 134 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName, |
| 130 | - array $arguments) |
|
| 130 | + array $arguments) |
|
| 131 | 131 | { |
| 132 | 132 | $classname = get_class($prophecy->reveal()); |
| 133 | 133 | $argstring = implode(', ', array_map(array($this->util, 'stringify'), $arguments)); |