Completed
Pull Request — master (#320)
by Alexander
03:17
created
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/AbstractProxy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     /**
89 89
      * Returns list of string representation of parameters
90 90
      *
91
-     * @param array|ReflectionParameter[] $parameters List of parameters
91
+     * @param ReflectionParameter[] $parameters List of parameters
92 92
      *
93 93
      * @return array
94 94
      */
Please login to merge, or discard this patch.
src/Instrument/Transformer/WeavingTransformer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
      * Save AOP proxy to the separate file anr returns the php source code for inclusion
254 254
      *
255 255
      * @param ReflectionClass $class Original class reflection
256
-     * @param string|ClassProxy $child
256
+     * @param ClassProxy $child
257 257
      *
258 258
      * @return string
259 259
      */
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.
src/Aop/Framework/ClassFieldAccess.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     /**
159 159
      * Invokes current field access with all interceptors
160 160
      *
161
-     * @param object $instance Instance of object
161
+     * @param \Go\Proxy\PropertyInterceptionTrait $instance Instance of object
162 162
      * @param integer $accessType Type of access: READ or WRITE
163 163
      * @param mixed $originalValue Original value of property
164 164
      * @param mixed $newValue New value to set
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     /**
213 213
      * Returns the static part of this joinpoint.
214 214
      *
215
-     * @return object
215
+     * @return ReflectionProperty
216 216
      */
217 217
     final public function getStaticPart()
218 218
     {
Please login to merge, or discard this patch.
src/Aop/Support/DeclareParentsAdvisor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Go\Aop\Support;
13 13
 
14
-use Go\Aop\Advice;
15 14
 use Go\Aop\IntroductionAdvisor;
16 15
 use Go\Aop\IntroductionInfo;
17 16
 use Go\Aop\Pointcut\PointcutClassFilterTrait;
Please login to merge, or discard this patch.