Completed
Push — 7.0 ( 66fc99...d11e6e )
by André
14:26
created
eZ/Publish/API/Repository/Tests/BaseURLServiceTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
  */
16 16
 abstract class BaseURLServiceTest extends BaseTest
17 17
 {
18
+    /**
19
+     * @param integer $exectedTotalCount
20
+     */
18 21
     protected function doTestFindUrls(URLQuery $query, array $expectedUrls, $exectedTotalCount = null, $ignoreOrder = true)
19 22
     {
20 23
         $repository = $this->getRepository();
@@ -32,6 +35,9 @@  discard block
 block discarded – undo
32 35
         $this->assertSearchResultItems($searchResult, $expectedUrls, $ignoreOrder);
33 36
     }
34 37
 
38
+    /**
39
+     * @param boolean $ignoreOrder
40
+     */
35 41
     protected function assertSearchResultItems(SearchResult $searchResult, array $expectedUrls, $ignoreOrder)
36 42
     {
37 43
         $this->assertCount(count($expectedUrls), $searchResult->items);
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/UrlTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -436,6 +436,10 @@
 block discarded – undo
436 436
             ->getMock();
437 437
     }
438 438
 
439
+    /**
440
+     * @param integer $id
441
+     * @param string $url
442
+     */
439 443
     private function getApiUrl($id = null, $url = null)
440 444
     {
441 445
         return new URL(['id' => $id, 'url' => $url]);
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/URLService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -245,6 +245,9 @@
 block discarded – undo
245 245
         }
246 246
     }
247 247
 
248
+    /**
249
+     * @param integer $timestamp
250
+     */
248 251
     private function createDateTime($timestamp)
249 252
     {
250 253
         if ($timestamp > 0) {
Please login to merge, or discard this patch.