Bug #6162

ReflectionService throws a Runtime Notice

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

Status:Resolved Start date:2010-01-22
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Reflection
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8
PHP Version: Complexity:
Has patch: Affected Flow version:

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);

Associated revisions

Revision c6eff186
Added by Karsten Dambekalns over 5 years ago

[+BUGFIX] FLOW3 (Reflection): Fixed a runtime notice in ReflectionService, fixes #6162.
[~TASK] FLOW3 (Package): Now a single package can be symlinked.

History

#1 Updated by Karsten Dambekalns over 5 years ago

  • Category set to Reflection
  • Status changed from New to Accepted
  • Assigned To 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 5 years ago

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

Applied in changeset r3754.

Also available in: Atom PDF