Task #1209

Make @required default and add @optional instead

Added by Karsten Dambekalns over 13 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Could have
Category:
Object
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:

Description

Setter injection methods can currently be annotated with @required. It seems to be that most injected dependencies are required, so this should be the default and instead optional dependencies should be marked with @optional.

#1

Updated by Sebastian Kurfuerst over 13 years ago

bla

#2

Updated by Karsten Dambekalns over 13 years ago

  • Status changed from New to Accepted
  • Assignee changed from Robert Lemke to Karsten Dambekalns
#3

Updated by Karsten Dambekalns over 13 years ago

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

Applied in changeset r1145.

Also available in: Atom PDF