Passed
Push — master ( b361fa...68dd11 )
by Jakub
02:23
created
src/Resolvers/SessionLocaleResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Translation\Resolvers;
5 5
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     $this->section = $session->getSection(get_class($this));
36 36
   }
37 37
   
38
-  public function getLang(): ?string {
38
+  public function getLang(): ? string {
39 39
     if(empty($this->section->{$this->varName})) {
40 40
       return NULL;
41 41
     }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     $this->varName = $varName;
55 55
   }
56 56
   
57
-  public function resolve(): ?string {
57
+  public function resolve(): ? string {
58 58
     return $this->getLang();
59 59
   }
60 60
 }
Please login to merge, or discard this patch.