Completed
Pull Request — master (#25)
by
unknown
03:05
created
src/View/Helper/Mailto.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * omited
66 66
      * @param array  $params   Optional parameters
67 67
      *
68
-     * @return void
68
+     * @return string
69 69
      */
70 70
     public function __invoke($address, $linktext = null, $params = array())
71 71
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
                 $classes = $params['class'];
84 84
                 $classes = explode(' ', $classes);
85 85
             }
86
-            if (! in_array($this->mailtoclass, $classes)) {
86
+            if ( ! in_array($this->mailtoclass, $classes)) {
87 87
                 $classes[] = $this->mailtoclass;
88 88
             }
89 89
             $params['class'] = implode(' ', $classes);
Please login to merge, or discard this patch.
tests/Controller/ProxyControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,6 @@
 block discarded – undo
35 35
 use Zend\Http\Response;
36 36
 use Zend\Mvc\MvcEvent;
37 37
 use Zend\Router\Http\RouteMatch;
38
-use Zend\Stdlib\ResponseInterface;
39
-use Zend\View\Model\ViewModel;
40 38
 
41 39
 class ProxyControllerTest extends TestCase
42 40
 {
Please login to merge, or discard this patch.
config/module.config.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -43,20 +43,20 @@
 block discarded – undo
43 43
         'aliases' => [
44 44
             'mailto' => Mailto::class,
45 45
         ],
46
-	],
47
-	'controllers' => array(
48
-		'invokables' => array(
49
-			ProxyController::class => ProxyController::class
50
-		),
51
-	),
52
-	'router' => array(
53
-		'routes' => array(
54
-        	'mailproxy' => array(
55
-            	'type' => 'Segment',
46
+    ],
47
+    'controllers' => array(
48
+        'invokables' => array(
49
+            ProxyController::class => ProxyController::class
50
+        ),
51
+    ),
52
+    'router' => array(
53
+        'routes' => array(
54
+            'mailproxy' => array(
55
+                'type' => 'Segment',
56 56
                 'options' => array(
57
-                	'route' => '/mailproxy[/:id]',
57
+                    'route' => '/mailproxy[/:id]',
58 58
                     'defaults' => array(
59
-                    	'controller' => ProxyController::class,
59
+                        'controller' => ProxyController::class,
60 60
                         'action'     => 'index',
61 61
                         'id'         => 'moc.elpmaxe@ofni',
62 62
                     ),
Please login to merge, or discard this patch.