Bug #6162

ReflectionService throws a Runtime Notice

Added by Tommy Seus over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Reflection
Start date:
2010-01-22
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Runtime Notice: Only variables should be passed by reference in /home/clfn/Development/FLOW3/FLOW3_DIst02/trunk/Packages/Framework/FLOW3/Classes/Reflection/ReflectionService.php line 787


00787: if (current($this->getClassTagValues($className, 'scope')) !== 'prototype') {

Fix:
$vari = $this->getClassTagValues($className, 'scope');
current($vari);

#1

Updated by Karsten Dambekalns over 11 years ago

  • Category set to Reflection
  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
  • Target version set to 1.0 alpha 8

Argh, once again I wonder why I didn't get an exception for that notice while trying that out. Thanks for the report.

#2

Updated by Karsten Dambekalns over 11 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3754.

Also available in: Atom PDF