@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | /** |
47 | 47 | * |
48 | 48 | * @param SS_HTTPRequest $request |
49 | - * @return bool |
|
49 | + * @return boolean|null |
|
50 | 50 | */ |
51 | 51 | public function run($request) { |
52 | 52 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * Process a chunk of pages |
92 | - * @param $start |
|
92 | + * @param integer $start |
|
93 | 93 | */ |
94 | 94 | protected function runFrom($start) { |
95 | 95 | $chunkSize = (int)self::config()->records_per_request; |
@@ -257,6 +257,10 @@ |
||
257 | 257 | |
258 | 258 | class SiteTreePublishingEngineTest_StaticPublishingTrigger extends SiteTree implements TestOnly, StaticPublishingTrigger { |
259 | 259 | |
260 | + /** |
|
261 | + * @param string $url |
|
262 | + * @param integer $prio |
|
263 | + */ |
|
260 | 264 | public function generatePublishable($url, $prio) { |
261 | 265 | $obj = Object::create('SiteTreePublishingEngineTest_StaticallyPublishable'); |
262 | 266 | $obj->url = $url; |
@@ -302,6 +302,8 @@ discard block |
||
302 | 302 | /** |
303 | 303 | * |
304 | 304 | * @param int $publishedPages - the number of pages published so far |
305 | + * @param boolean $finished |
|
306 | + * @param double $prePublishTime |
|
305 | 307 | */ |
306 | 308 | protected function logSummary( $publishedPages, $finished, $prePublishTime ) { |
307 | 309 | if(!$publishedPages) { |
@@ -345,6 +347,7 @@ discard block |
||
345 | 347 | * Check if another instance is running with the regard to a timelimit. |
346 | 348 | * |
347 | 349 | * @var int $secondsBeforeDead |
350 | + * @param integer $secondsBeforeDead |
|
348 | 351 | * @return bool |
349 | 352 | */ |
350 | 353 | protected function anotherInstanceRunning($secondsBeforeDead) { |
@@ -369,7 +372,6 @@ discard block |
||
369 | 372 | /** |
370 | 373 | * Adds information to the pid file |
371 | 374 | * |
372 | - * @param float $microtime |
|
373 | 375 | * @return void |
374 | 376 | */ |
375 | 377 | protected function updatePid() { |