@@ -1092,19 +1092,19 @@ protected function getEntity()
1092
1092
'createdAt ' => 'created_at ' ,
1093
1093
];
1094
1094
1095
- public function setBar ($ value )
1095
+ public function setBar (int | string $ value ): self
1096
1096
{
1097
1097
$ this ->attributes ['bar ' ] = "bar: {$ value }" ;
1098
1098
1099
1099
return $ this ;
1100
1100
}
1101
1101
1102
- public function getBar ()
1102
+ public function getBar (): string
1103
1103
{
1104
1104
return "{$ this ->attributes ['bar ' ]}:bar " ;
1105
1105
}
1106
1106
1107
- public function getFakeBar ()
1107
+ public function getFakeBar (): string
1108
1108
{
1109
1109
return "{$ this ->attributes ['bar ' ]}:bar " ;
1110
1110
}
@@ -1131,26 +1131,26 @@ protected function getNewSetterGetterEntity()
1131
1131
];
1132
1132
private string $ bar ;
1133
1133
1134
- public function setBar ($ value )
1134
+ public function setBar (string $ value ): self
1135
1135
{
1136
1136
$ this ->bar = $ value ;
1137
1137
1138
1138
return $ this ;
1139
1139
}
1140
1140
1141
- public function getBar ()
1141
+ public function getBar (): string
1142
1142
{
1143
1143
return $ this ->bar ;
1144
1144
}
1145
1145
1146
- public function _setBar ($ value )
1146
+ public function _setBar (string $ value ): self
1147
1147
{
1148
1148
$ this ->attributes ['bar ' ] = "bar: {$ value }" ;
1149
1149
1150
1150
return $ this ;
1151
1151
}
1152
1152
1153
- public function _getBar ()
1153
+ public function _getBar (): string
1154
1154
{
1155
1155
return "{$ this ->attributes ['bar ' ]}:bar " ;
1156
1156
}
@@ -1180,7 +1180,7 @@ protected function setSimple(string $val): void
1180
1180
$ this ->attributes ['simple ' ] = 'oo: ' . $ val ;
1181
1181
}
1182
1182
1183
- protected function getSimple ()
1183
+ protected function getSimple (): string
1184
1184
{
1185
1185
return $ this ->attributes ['simple ' ] . ':oo ' ;
1186
1186
}
@@ -1275,7 +1275,7 @@ protected function getCastEntity($data = null): Entity
1275
1275
'thirteenth ' => 'uri ' ,
1276
1276
];
1277
1277
1278
- public function setSeventh ($ seventh ): void
1278
+ public function setSeventh (string $ seventh ): void
1279
1279
{
1280
1280
$ this ->attributes ['seventh ' ] = $ seventh ;
1281
1281
}
0 commit comments