File tree Expand file tree Collapse file tree 12 files changed +34
-12
lines changed
Expand file tree Collapse file tree 12 files changed +34
-12
lines changed Original file line number Diff line number Diff line change @@ -70,5 +70,7 @@ public function setValue($value)
7070 } else {
7171 throw new \Exception ('Value must be ' . __CLASS__ . ' type but is ' . gettype ($ val ));
7272 }
73+
74+ return $ this ;
7375 }
7476}
Original file line number Diff line number Diff line change @@ -68,5 +68,7 @@ public function setValue($value)
6868 } else {
6969 throw new \Exception ('Value must be ' . __CLASS__ . ' type but is ' . gettype ($ value ));
7070 }
71+
72+ return $ this ;
7173 }
7274}
Original file line number Diff line number Diff line change @@ -107,5 +107,7 @@ public function __toString()
107107 public function setValue ($ value )
108108 {
109109 $ this ->date = new \DateTime ($ value );
110+
111+ return $ this ;
110112 }
111113}
Original file line number Diff line number Diff line change @@ -72,5 +72,7 @@ public function setValue($val)
7272 } else {
7373 throw new \Exception ('Value must be ' . __CLASS__ . ' type but is ' . gettype ($ val ) . ' - ' . $ val );
7474 }
75+
76+ return $ this ;
7577 }
7678}
Original file line number Diff line number Diff line change @@ -66,5 +66,7 @@ public function setValue($value)
6666 } else {
6767 $ this ->value = $ value ;
6868 }
69+
70+ return $ this ;
6971 }
7072}
Original file line number Diff line number Diff line change @@ -81,5 +81,7 @@ public function setValue($value)
8181 } else {
8282 throw new \Exception ('Value must be ' . __CLASS__ . ' type but is ' . gettype ($ value ) . ' - ' . $ value );
8383 }
84+
85+ return $ this ;
8486 }
8587}
Original file line number Diff line number Diff line change @@ -70,5 +70,7 @@ public function setValue($value)
7070 } else {
7171 throw new \Exception ('Value must be ' . __CLASS__ . ' type but is ' . gettype ($ value ));
7272 }
73+
74+ return $ this ;
7375 }
7476}
Original file line number Diff line number Diff line change @@ -89,5 +89,7 @@ public function setValue($value)
8989 } else {
9090 throw new \Exception ('Value must be correct ' . __CLASS__ . ' type ' );
9191 }
92+
93+ return $ this ;
9294 }
9395}
Original file line number Diff line number Diff line change @@ -93,5 +93,7 @@ public function setValue($value)
9393 } else {
9494 throw new \Exception ('Value must be ' . __CLASS__ . ' type but is ' . gettype ($ value ));
9595 }
96+
97+ return $ this ;
9698 }
9799}
Original file line number Diff line number Diff line change @@ -83,5 +83,7 @@ public function setValue($value)
8383 } else {
8484 throw new \Exception ('Value must be ' . __CLASS__ . ' type but is ' . gettype ($ value ));
8585 }
86+
87+ return $ this ;
8688 }
8789}
You can’t perform that action at this time.
0 commit comments