@@ -85,6 +85,7 @@ public function getDocblock($reflectionClass = 'Zend_Reflection_Docblock')
8585 * @param bool $includeDocComment
8686 * @return int
8787 */
88+ #[ReturnTypeWillChange]
8889 public function getStartLine ($ includeDocComment = false )
8990 {
9091 if ($ includeDocComment ) {
@@ -118,6 +119,7 @@ public function getContents($includeDocblock = true)
118119 * @param string $reflectionClass Name of reflection class to use
119120 * @return array Array of Zend_Reflection_Class
120121 */
122+ #[ReturnTypeWillChange]
121123 public function getInterfaces ($ reflectionClass = 'Zend_Reflection_Class ' )
122124 {
123125 $ phpReflections = parent ::getInterfaces ();
@@ -142,6 +144,7 @@ public function getInterfaces($reflectionClass = 'Zend_Reflection_Class')
142144 * @param string $reflectionClass Reflection class to utilize
143145 * @return Zend_Reflection_Method
144146 */
147+ #[ReturnTypeWillChange]
145148 public function getMethod ($ name , $ reflectionClass = 'Zend_Reflection_Method ' )
146149 {
147150 $ phpReflection = parent ::getMethod ($ name );
@@ -163,6 +166,7 @@ public function getMethod($name, $reflectionClass = 'Zend_Reflection_Method')
163166 * @param string $reflectionClass Reflection class to use for methods
164167 * @return array Array of Zend_Reflection_Method objects
165168 */
169+ #[ReturnTypeWillChange]
166170 public function getMethods ($ filter = -1 , $ reflectionClass = 'Zend_Reflection_Method ' )
167171 {
168172 $ phpReflections = parent ::getMethods ($ filter );
@@ -186,6 +190,7 @@ public function getMethods($filter = -1, $reflectionClass = 'Zend_Reflection_Met
186190 * @param string $reflectionClass Name of Reflection class to use
187191 * @return Zend_Reflection_Class
188192 */
193+ #[ReturnTypeWillChange]
189194 public function getParentClass ($ reflectionClass = 'Zend_Reflection_Class ' )
190195 {
191196 $ phpReflection = parent ::getParentClass ();
@@ -209,6 +214,7 @@ public function getParentClass($reflectionClass = 'Zend_Reflection_Class')
209214 * @param string $reflectionClass Name of reflection class to use
210215 * @return Zend_Reflection_Property
211216 */
217+ #[ReturnTypeWillChange]
212218 public function getProperty ($ name , $ reflectionClass = 'Zend_Reflection_Property ' )
213219 {
214220 $ phpReflection = parent ::getProperty ($ name );
@@ -228,6 +234,7 @@ public function getProperty($name, $reflectionClass = 'Zend_Reflection_Property'
228234 * @param string $reflectionClass Name of reflection class to use
229235 * @return array Array of Zend_Reflection_Property
230236 */
237+ #[ReturnTypeWillChange]
231238 public function getProperties ($ filter = -1 , $ reflectionClass = 'Zend_Reflection_Property ' )
232239 {
233240 $ phpReflections = parent ::getProperties ($ filter );
0 commit comments