Completed
Push — master ( 56bbbc...171c63 )
by Andreas
9s
created
src/Module.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 {
41 41
     public function getConfig()
42 42
     {
43
-    	return include __DIR__ . '/../config/module.config.php';
43
+        return include __DIR__ . '/../config/module.config.php';
44 44
     }
45 45
 
46 46
     public function onBootstrap(MvcEvent $event)
Please login to merge, or discard this patch.
src/Filter/Geolocation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function filter($value)
49 49
     {
50
-        if (! preg_match('/(?P<lat>[-]?\d{1,2}(\.\d+)?)\D+?(?P<lon>[-]?\d{1,3}(\.\d+)?)/', $value, $result)) {
50
+        if (!preg_match('/(?P<lat>[-]?\d{1,2}(\.\d+)?)\D+?(?P<lon>[-]?\d{1,3}(\.\d+)?)/', $value, $result)) {
51 51
             trigger_Error(
52 52
                 sprintf(
53 53
                     'The give value "%1$s" can not be resolved to a geolocation',
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
         $longitude = fmod($longitude, 360.0);
66 66
         if ($longitude > 180) {
67
-            $longitude = ($longitude - 180)-180;
67
+            $longitude = ($longitude - 180) - 180;
68 68
         }
69 69
 
70 70
         if ($longitude < -180) {
Please login to merge, or discard this patch.
src/Renderer/GeolocationRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,13 +50,13 @@
 block discarded – undo
50 50
 
51 51
     public function __construct()
52 52
     {
53
-        $events = StaticEventManager::getInstance ();
53
+        $events = StaticEventManager::getInstance();
54 54
 
55 55
         // Add event of authentication before dispatch
56 56
         $events->attach('Zend\View\View', ViewEvent::EVENT_RENDERER_POST, array(
57 57
             $this,
58 58
             'preRenderForm'
59
-        ), 110 );
59
+        ), 110);
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/Validator/IsGeolocation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function isValid($value) : bool
76 76
     {
77
-        if (! preg_match('/(?P<lat>[-]?\d{1,2}(\.\d+)?)\D+(?P<lon>[-]?\d{1,3}(\.\d+)?)/', $value, $result)) {
77
+        if (!preg_match('/(?P<lat>[-]?\d{1,2}(\.\d+)?)\D+(?P<lon>[-]?\d{1,3}(\.\d+)?)/', $value, $result)) {
78 78
             $this->error(self::INVALID_FORMAT);
79 79
             return false;
80 80
         }
Please login to merge, or discard this patch.