Completed
Pull Request — master (#82)
by
unknown
07:46
created
src/PhraseanetSDK/Repository/Record.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * Search for records
85 85
      *
86 86
      * @param  array                       $parameters Query parameters
87
-	 * @param int                          $pAPINumber API number (e.g. 3)
87
+     * @param int                          $pAPINumber API number (e.g. 3)
88 88
      * @return QueryEntity object
89 89
      * @throws RuntimeException
90 90
      * @throws UnauthorizedException
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function search(array $parameters = [], int $pAPINumber = 1): QueryEntity
95 95
     {
96
-		$response = $this->query('POST', 'v'.$pAPINumber.'/search/', [], array_merge(
96
+        $response = $this->query('POST', 'v'.$pAPINumber.'/search/', [], array_merge(
97 97
             ['search_type' => 0],
98 98
             $parameters
99 99
         ));
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/Story.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * Search for stories
79 79
      *
80 80
      * @param  array $parameters Query parameters
81
-	 * @param int $pAPINumber API number (e.g. 3)
81
+     * @param int $pAPINumber API number (e.g. 3)
82 82
      * @return QueryEntity object
83 83
      * @throws RuntimeException
84 84
      * @throws UnauthorizedException
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     {
90 90
         $response = $this->query('POST', 'v'.$pAPINumber.'/search/', array(), array_merge(
91 91
             $parameters,
92
-			array('search_type' => SearchResult::TYPE_STORY)
92
+            array('search_type' => SearchResult::TYPE_STORY)
93 93
         ));
94 94
 
95 95
         if ($response->isEmpty()) {
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/Query.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      * @param $pValue  mixed
199 199
      */
200 200
     public function setSourceEntry(string $pKey, $pValue)
201
-	{
202
-		$this->source->$pKey = $pValue;
203
-	}
201
+    {
202
+        $this->source->$pKey = $pValue;
203
+    }
204 204
 }
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/Basket.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
      */
240 240
     public function getValidationInitiatorUser(): ?User
241 241
     {
242
-      return $this->validationInitiatorUser ?: ($this->validationInitiatorUser = User::fromValue($this->source->validation_initiator_user));
242
+        return $this->validationInitiatorUser ?: ($this->validationInitiatorUser = User::fromValue($this->source->validation_initiator_user));
243 243
     }
244 244
 
245 245
     /**
Please login to merge, or discard this patch.