Completed
Push — master ( 72c7b6...2e4b99 )
by
unknown
16s queued 11s
created
src/Component/Query/RecordQuery.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     /**
16 16
      * @param array $query
17
-     * @param $type
17
+     * @param integer $type
18 18
      */
19 19
     public function __construct(array $query, $type)
20 20
     {
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@  discard block
 block discarded – undo
30 30
         return $this->query;
31 31
     }
32 32
 
33
-	/**
34
-	 * @param array $query
35
-	 * @return RecordQuery
36
-	 */
37
-	public function setRawQuery($query)
38
-	{
39
-		$this->query = $query;
40
-		return $this;
41
-	}
33
+    /**
34
+     * @param array $query
35
+     * @return RecordQuery
36
+     */
37
+    public function setRawQuery($query)
38
+    {
39
+        $this->query = $query;
40
+        return $this;
41
+    }
42 42
 
43 43
     /**
44 44
      * @return int
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     /**
52 52
      * @param $repository
53
-	 * @param int $pAPINumber API number (e.g. 3)
53
+     * @param int $pAPINumber API number (e.g. 3)
54 54
      * @return \Doctrine\Common\Collections\ArrayCollection
55 55
      */
56 56
     public function execute($repository, $pAPINumber = 1)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      */
56 56
     public function execute($repository, $pAPINumber = 1)
57 57
     {
58
-        if (! $repository instanceof Record && ! $repository instanceof Story) {
58
+        if (!$repository instanceof Record && !$repository instanceof Story) {
59 59
             throw new \InvalidArgumentException('Invalid repository type (story or record required).');
60 60
         }
61 61
 
Please login to merge, or discard this patch.