Commit 046f80d1 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

not null pour les setters trop restrictif

parent 98fbd098
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for code/template/AwareInterface.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ interface <classname>
     *                      
     * @return self
     */
    public function set<method>( <targetClassname> $<variable> );
    public function set<method>( ?<targetClassname> $<variable> );
<if useGetter notrim>


+1 −1
Changes for code/template/AwareTrait.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ trait <classname>
     *                      
     * @return self
     */
    public function set<method>( <targetClassname> $<variable> )
    public function set<method>( ?<targetClassname> $<variable> )
    {
        $this-><variable> = $<variable>;