Passed
Pull Request — main (#53)
by Lode
03:33
created
src/objects/ResourceIdentifierObject.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	 * @param string     $type optional
32 32
 	 * @param string|int $id   optional
33 33
 	 */
34
-	public function __construct($type=null, $id=null) {
34
+	public function __construct($type = null, $id = null) {
35 35
 		$this->validator = new Validator();
36 36
 		
37 37
 		if ($type !== null) {
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
 		}
43 43
 		
44 44
 		// always mark as used, as these keys are reserved
45
-		$this->validator->claimUsedFields($fieldNames=['type'], Validator::OBJECT_CONTAINER_TYPE);
46
-		$this->validator->claimUsedFields($fieldNames=['id'], Validator::OBJECT_CONTAINER_ID);
47
-		$this->validator->claimUsedFields($fieldNames=['lid'], Validator::OBJECT_CONTAINER_LID);
45
+		$this->validator->claimUsedFields($fieldNames = ['type'], Validator::OBJECT_CONTAINER_TYPE);
46
+		$this->validator->claimUsedFields($fieldNames = ['id'], Validator::OBJECT_CONTAINER_ID);
47
+		$this->validator->claimUsedFields($fieldNames = ['lid'], Validator::OBJECT_CONTAINER_LID);
48 48
 	}
49 49
 	
50 50
 	/**
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	/**
220 220
 	 * @inheritDoc
221 221
 	 */
222
-	public function getResource($identifierOnly=false) {
222
+	public function getResource($identifierOnly = false) {
223 223
 		return $this;
224 224
 	}
225 225
 	
Please login to merge, or discard this patch.