| @@ -26,6 +26,9 @@ | ||
| 26 | 26 | } | 
| 27 | 27 | } | 
| 28 | 28 | |
| 29 | + /** | |
| 30 | + * @param string $extension | |
| 31 | + */ | |
| 29 | 32 | public function getTransformer($extension) | 
| 30 | 33 |      { | 
| 31 | 34 | if (isset($this->transformers[$extension])) | 
| @@ -53,6 +53,9 @@ | ||
| 53 | 53 | throw new UnsupportedMarkupException($tag, 'There is no support to handle this markup format.'); | 
| 54 | 54 | } | 
| 55 | 55 | |
| 56 | + /** | |
| 57 | + * @param string $extension | |
| 58 | + */ | |
| 56 | 59 | public function getEngineByExtension($extension) | 
| 57 | 60 |      { | 
| 58 | 61 | if (isset($this->enginesByExtension[$extension])) | 
| @@ -38,6 +38,9 @@ | ||
| 38 | 38 | return $this->parseMarkup($arguments[0], $tag); | 
| 39 | 39 | } | 
| 40 | 40 | |
| 41 | + /** | |
| 42 | + * @param string $tag | |
| 43 | + */ | |
| 41 | 44 | public function parseMarkup($content, $tag) | 
| 42 | 45 |      { | 
| 43 | 46 | return $this->markupManager->getEngineByTag($tag)->parse($content); | 
| @@ -12,6 +12,9 @@ discard block | ||
| 12 | 12 | */ | 
| 13 | 13 | interface CollectableItem | 
| 14 | 14 |  { | 
| 15 | + /** | |
| 16 | + * @return string | |
| 17 | + */ | |
| 15 | 18 | public function getRelativeFilePath(); | 
| 16 | 19 | |
| 17 | 20 | /** | 
| @@ -59,6 +62,7 @@ discard block | ||
| 59 | 62 | * | 
| 60 | 63 | * @param array $variables An array of YAML variables to use in evaluating the `$permalink` value | 
| 61 | 64 | * @param array $complexVariables complex variables that will be available to the FrontMatter scope of this document | 
| 65 | + * @return void | |
| 62 | 66 | */ | 
| 63 | 67 | public function evaluateFrontMatter(array $variables = [], array $complexVariables = []); | 
| 64 | 68 | } | 
| @@ -33,6 +33,9 @@ | ||
| 33 | 33 | ]); | 
| 34 | 34 | } | 
| 35 | 35 | |
| 36 | + /** | |
| 37 | + * @param boolean $absolute | |
| 38 | + */ | |
| 36 | 39 | private function getUrl($absolute) | 
| 37 | 40 |      { | 
| 38 | 41 | $url = '/'; | 
| @@ -24,6 +24,9 @@ | ||
| 24 | 24 | private $themeData; | 
| 25 | 25 | private $themeName; | 
| 26 | 26 | |
| 27 | + /** | |
| 28 | + * @param string $themeName | |
| 29 | + */ | |
| 27 | 30 | public function __construct($themeName, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger) | 
| 28 | 31 |      { | 
| 29 | 32 | parent::__construct($eventDispatcher, $logger); | 
| @@ -44,7 +44,7 @@ | ||
| 44 | 44 | /** | 
| 45 | 45 | * Compile the website. | 
| 46 | 46 | * | 
| 47 | - * @return true if the website built successfully | |
| 47 | + * @return false|null if the website built successfully | |
| 48 | 48 | */ | 
| 49 | 49 | public function build() | 
| 50 | 50 |      { | 
| @@ -40,7 +40,7 @@ | ||
| 40 | 40 | /** | 
| 41 | 41 | * Create the appropriate object type when parsing a PageView. | 
| 42 | 42 | * | 
| 43 | - * @return DynamicPageView|StaticPageView|RepeaterPageView | |
| 43 | + * @return BasePageView | |
| 44 | 44 | */ | 
| 45 | 45 | public static function create(File $filePath, array $complexVariables = []) | 
| 46 | 46 |      { | 
| @@ -259,7 +259,7 @@ discard block | ||
| 259 | 259 | } | 
| 260 | 260 | |
| 261 | 261 | /** | 
| 262 | - * @return Configuration|\PHPUnit_Framework_MockObject_MockObject | |
| 262 | + * @return Configuration | |
| 263 | 263 | */ | 
| 264 | 264 | protected function getMockConfiguration() | 
| 265 | 265 |      { | 
| @@ -377,7 +377,7 @@ discard block | ||
| 377 | 377 | /** | 
| 378 | 378 | * Get a mock EventDispatcher. | 
| 379 | 379 | * | 
| 380 | - * @return EventDispatcherInterface|\PHPUnit_Framework_MockObject_MockObject | |
| 380 | + * @return EventDispatcherInterface | |
| 381 | 381 | */ | 
| 382 | 382 | protected function getMockEventDistpatcher() | 
| 383 | 383 |      { | 
| @@ -387,7 +387,7 @@ discard block | ||
| 387 | 387 | /** | 
| 388 | 388 | * Get a mock logger. | 
| 389 | 389 | * | 
| 390 | - * @return LoggerInterface|\PHPUnit_Framework_MockObject_MockObject | |
| 390 | + * @return LoggerInterface | |
| 391 | 391 | */ | 
| 392 | 392 | protected function getMockLogger() | 
| 393 | 393 |      { |