Completed
Pull Request — master (#70)
by Daniel
06:38
created
code/tasks/SiteTreeFullBuildEngine.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
tests/unit/SiteTreePublishingEngineTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -257,6 +257,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
code/tasks/BuildStaticCacheFromQueue.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -302,6 +302,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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() {
Please login to merge, or discard this patch.