Bug #25988

Useless proxies are built for some classes

Added by Karsten Dambekalns over 4 years ago. Updated almost 4 years ago.

Status:New Start date:2011-04-15
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Object
Target version:-
PHP Version: Complexity:
Has patch: Affected Flow version:FLOW3 1.0.0

Description

Consider the proxies for the Package classes, they contain no code except for some checks on constructor arguments. In fact, they are only built at all because of that checking code.

The attached patch fixes this, but can probably be optimized (do we ever need the check)?

0001-TASK-Skip-argument-check-in-proxy-constructor-if-unu.patch Magnifier (2 kB) Karsten Dambekalns, 2011-04-15 15:15

History

#2 Updated by Karsten Dambekalns almost 4 years ago

  • Affected Flow version set to FLOW3 1.0.0

Also available in: Atom PDF