Completed
Push — prototype ( 9dff07...0f98b2 )
by Peter
02:59
created
examples/simple/public/events-bind-app-dispatch/index.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
  */
6 6
 
7 7
 use WebinoAppLib\Event\AppEvent;
8
-use WebinoAppLib\Event\RouteEvent;
9 8
 use WebinoAppLib\Response\Content\SourcePreview;
10
-use WebinoAppLib\Router\DefaultRoute;
11 9
 
12 10
 require __DIR__ . '/../../vendor/autoload.php';
13 11
 
Please login to merge, or discard this patch.
examples/simple/public/route-bind-invokable-class/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use WebinoAppLib\Event\RouteEvent;
8 8
 use WebinoAppLib\Response\Content\SourcePreview;
9 9
 use WebinoAppLib\Router\DefaultRoute;
10
-use Zend\ModuleManager\Listener\AbstractListener;
11 10
 
12 11
 require __DIR__ . '/../../vendor/autoload.php';
13 12
 
Please login to merge, or discard this patch.
examples/simple/public/service-factory-config-invokable/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
  */
6 6
 
7 7
 use WebinoAppLib\Event\RouteEvent;
8
-use WebinoAppLib\Factory\AbstractFactory;
9 8
 use WebinoAppLib\Feature\Service;
10 9
 use WebinoAppLib\Response\Content\SourcePreview;
11 10
 use WebinoAppLib\Router\DefaultRoute;
Please login to merge, or discard this patch.
library/WebinoAppLib/Application/Traits/EventsTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
32 32
     abstract public function get($service);
33 33
 
34 34
     /**
35
-     * @param mixed $service
35
+     * @param string $service
36 36
      * @param null $factory
37 37
      * @return $this
38 38
      */
39 39
     abstract public function set($service, $factory = null);
40 40
 
41 41
     /**
42
-     * @param $service
42
+     * @param string $service
43 43
      * @return bool
44 44
      */
45 45
     abstract public function has($service);
Please login to merge, or discard this patch.
library/WebinoAppLib/Application/Traits/RouterTrait.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,13 +22,14 @@
 block discarded – undo
22 22
      * Return registered service
23 23
      *
24 24
      * @param string $service Service name
25
-     * @return mixed
25
+     * @return RouteStackInterface
26 26
      * @throws \WebinoAppLib\Exception\UnknownServiceException
27 27
      */
28 28
     abstract public function get($service);
29 29
 
30 30
     /**
31 31
      * {@inheritdoc}
32
+     * @param string $event
32 33
      */
33 34
     abstract public function bind($event, $callback = null, $priority = 1);
34 35
 
Please login to merge, or discard this patch.
library/WebinoAppLib/Debugger/Bar/ConfigPanel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @param object|Config $config
38
-     * @param object|DebuggerInterface $debugger
37
+     * @param Config $config
38
+     * @param DebuggerInterface $debugger
39 39
      */
40 40
     public function __construct(Config $config, DebuggerInterface $debugger)
41 41
     {
Please login to merge, or discard this patch.
library/WebinoAppLib/Event/AbstractRouteEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      * Get a specific parameter
59 59
      *
60 60
      * @param string $name
61
-     * @param mixed $default
61
+     * @param string $default
62 62
      * @return mixed
63 63
      */
64 64
     public function getParam($name, $default = null)
Please login to merge, or discard this patch.
library/WebinoAppLib/Event/DispatchEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     DispatchEventInterface
17 17
 {
18 18
     /**
19
-     * @param ConfiguredApplicationInterface|AbstractApplication $app
19
+     * @param ConfiguredApplicationInterface $app
20 20
      */
21 21
     public function __construct(ConfiguredApplicationInterface $app)
22 22
     {
Please login to merge, or discard this patch.
library/WebinoAppLib/Factory/AbstractFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      * Return service or throw an exception
97 97
      *
98 98
      * @param string $service
99
-     * @return mixed
99
+     * @return Application
100 100
      * @throws DomainException Unable to require a service
101 101
      */
102 102
     protected function requireService($service)
Please login to merge, or discard this patch.