Passed
Push — master ( 32caf2...170776 )
by
unknown
02:26
created
src/Lookup/RestrictedEntityLookupFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@
 block discarded – undo
28 28
 	 */
29 29
 	private WeakMap $restrictedEntityLookupMap;
30 30
 
31
-	public function __construct( EntityLookup $entityLookup, int $entityAccessLimit ) {
31
+	public function __construct(EntityLookup $entityLookup, int $entityAccessLimit) {
32 32
 		$this->entityLookup = $entityLookup;
33 33
 		$this->entityAccessLimit = $entityAccessLimit;
34 34
 		$this->restrictedEntityLookupMap = new WeakMap();
35 35
 	}
36 36
 
37
-	public function getRestrictedEntityLookup( Parser $parser ): RestrictedEntityLookup {
38
-		$this->restrictedEntityLookupMap[$parser] ??= new RestrictedEntityLookup( $this->entityLookup, $this->entityAccessLimit );
37
+	public function getRestrictedEntityLookup(Parser $parser): RestrictedEntityLookup {
38
+		$this->restrictedEntityLookupMap[$parser] ??= new RestrictedEntityLookup($this->entityLookup, $this->entityAccessLimit);
39 39
 
40 40
 		return $this->restrictedEntityLookupMap[$parser];
41 41
 	}
Please login to merge, or discard this patch.