Completed
Pull Request — 1.x (#311)
by Alexander
25:49
created
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/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/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.
src/Proxy/ClassProxy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
     /**
414 414
      * Creates definition for method body
415 415
      *
416
-     * @param ParsedMethod $method Method reflection
416
+     * @param ParsedMethod|null $method Method reflection
417 417
      *
418 418
      * @return string new method body
419 419
      */
Please login to merge, or discard this patch.
src/Aop/Framework/ClassFieldAccess.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      *
124 124
      * @param int $stackLevel Stack level for check
125 125
      *
126
-     * @return true if access is OK
126
+     * @return boolean if access is OK
127 127
      */
128 128
     public function ensureScopeRule($stackLevel = 2)
129 129
     {
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     /**
166 166
      * Invokes current field access with all interceptors
167 167
      *
168
-     * @param object $instance Instance of object
168
+     * @param \Go\Proxy\PropertyInterceptionTrait $instance Instance of object
169 169
      * @param integer $accessType Type of access: READ or WRITE
170 170
      * @param mixed $originalValue Original value of property
171 171
      * @param mixed $newValue New value to set
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     /**
220 220
      * Returns the static part of this joinpoint.
221 221
      *
222
-     * @return object
222
+     * @return ReflectionProperty
223 223
      */
224 224
     final public function getStaticPart()
225 225
     {
Please login to merge, or discard this patch.
src/Core/GeneralAspectLoaderExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Go\Aop\Framework;
16 16
 use Go\Aop\Pointcut;
17 17
 use Go\Aop\PointFilter;
18
-use Go\Aop\Support;
19 18
 use Go\Aop\Support\DefaultPointcutAdvisor;
20 19
 use Go\Lang\Annotation;
21 20
 
Please login to merge, or discard this patch.