Completed
Push — 1.x ( 6a61a7...440334 )
by Alexander
02:59
created
demos/Demo/Example/LoggingDemo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * Executes a task and logs all incoming arguments
23 23
      *
24 24
      * @Loggable
25
-     * @param mixed $task Some specific argument
25
+     * @param string $task Some specific argument
26 26
      */
27 27
     public function execute($task)
28 28
     {
Please login to merge, or discard this patch.
src/Aop/Framework/BaseAdvice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      * @param Aspect $aspect Instance of aspect
141 141
      * @param ReflectionMethod $refMethod Reflection method of aspect
142 142
      *
143
-     * @return callable|object
143
+     * @return \Closure
144 144
      */
145 145
     public static function fromAspectReflection(Aspect $aspect, ReflectionMethod $refMethod)
146 146
     {
Please login to merge, or discard this patch.
src/Aop/Framework/ReflectionConstructorInvocation.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param string $className Class name
55 55
      * @param $advices array List of advices for this invocation
56
+     * @param string $type
56 57
      */
57 58
     public function __construct($className, $type, array $advices)
58 59
     {
@@ -123,7 +124,7 @@  discard block
 block discarded – undo
123 124
     /**
124 125
      * Returns the static part of this joinpoint.
125 126
      *
126
-     * @return object
127
+     * @return null|ReflectionMethod
127 128
      */
128 129
     public function getStaticPart()
129 130
     {
Please login to merge, or discard this patch.
src/Aop/Pointcut/FunctionPointcut.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         return $this->nsFilter;
91 91
     }
92 92
 
93
+    /**
94
+     * @param \Go\Aop\Support\SimpleNamespaceFilter $nsFilter
95
+     */
93 96
     public function setNamespaceFilter($nsFilter)
94 97
     {
95 98
         $this->nsFilter = $nsFilter;
Please login to merge, or discard this patch.
src/Aop/Pointcut/PointcutGrammar.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
     /**
306 306
      * Returns callable for converting node(s) to the string
307 307
      *
308
-     * @return callable
308
+     * @return \Closure
309 309
      */
310 310
     private function getNodeToStringConverter()
311 311
     {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
     /**
327 327
      * Returns callable for converting node value for modifiers to the constant value
328 328
      *
329
-     * @return callable
329
+     * @return \Closure
330 330
      */
331 331
     private function getModifierConverter()
332 332
     {
Please login to merge, or discard this patch.
src/Aop/Support/DeclareParentsAdvisor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     /**
74 74
      * Returns an advice to apply
75 75
      *
76
-     * @return Advice|IntroductionInfo|null
76
+     * @return null|IntroductionInfo
77 77
      */
78 78
     public function getAdvice()
79 79
     {
Please login to merge, or discard this patch.
src/Core/AbstractAspectLoaderExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      *
77 77
      * @param Aspect $aspect Instance of aspect
78 78
      * @param ReflectionMethod|ReflectionProperty $reflection
79
-     * @param $metaInformation
79
+     * @param Annotation\BaseAnnotation $metaInformation
80 80
      *
81 81
      * @return TokenStream
82 82
      * @throws \UnexpectedValueException
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      * Performs parsing of pointcut
110 110
      *
111 111
      * @param ReflectionMethod|ReflectionProperty $reflection
112
-     * @param $metaInformation
112
+     * @param Annotation\BaseAnnotation $metaInformation
113 113
      * @param TokenStream $stream
114 114
      * @return Pointcut
115 115
      *
Please login to merge, or discard this patch.
src/Instrument/ClassLoading/CachePathManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 
107 107
     /**
108 108
      * @param string $resource
109
-     * @return bool|string
109
+     * @return false|string
110 110
      */
111 111
     public function getCachePathForResource($resource)
112 112
     {
Please login to merge, or discard this patch.
src/Instrument/ClassLoading/SourceTransformingLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     /**
125 125
      * Transforms source code by passing it through all transformers
126 126
      *
127
-     * @param StreamMetaData|null $metadata Metadata from stream
127
+     * @param StreamMetaData $metadata Metadata from stream
128 128
      * @return void|bool Return false if transformation should be stopped
129 129
      */
130 130
     public static function transformCode(StreamMetaData $metadata)
Please login to merge, or discard this patch.