@@ -1113,19 +1113,19 @@ protected function getEntity()
1113
1113
'createdAt ' => 'created_at ' ,
1114
1114
];
1115
1115
1116
- public function setBar ($ value )
1116
+ public function setBar (int | string $ value ): self
1117
1117
{
1118
1118
$ this ->attributes ['bar ' ] = "bar: {$ value }" ;
1119
1119
1120
1120
return $ this ;
1121
1121
}
1122
1122
1123
- public function getBar ()
1123
+ public function getBar (): string
1124
1124
{
1125
1125
return "{$ this ->attributes ['bar ' ]}:bar " ;
1126
1126
}
1127
1127
1128
- public function getFakeBar ()
1128
+ public function getFakeBar (): string
1129
1129
{
1130
1130
return "{$ this ->attributes ['bar ' ]}:bar " ;
1131
1131
}
@@ -1152,26 +1152,26 @@ protected function getNewSetterGetterEntity()
1152
1152
];
1153
1153
private string $ bar ;
1154
1154
1155
- public function setBar ($ value )
1155
+ public function setBar (string $ value ): self
1156
1156
{
1157
1157
$ this ->bar = $ value ;
1158
1158
1159
1159
return $ this ;
1160
1160
}
1161
1161
1162
- public function getBar ()
1162
+ public function getBar (): string
1163
1163
{
1164
1164
return $ this ->bar ;
1165
1165
}
1166
1166
1167
- public function _setBar ($ value )
1167
+ public function _setBar (string $ value ): self
1168
1168
{
1169
1169
$ this ->attributes ['bar ' ] = "bar: {$ value }" ;
1170
1170
1171
1171
return $ this ;
1172
1172
}
1173
1173
1174
- public function _getBar ()
1174
+ public function _getBar (): string
1175
1175
{
1176
1176
return "{$ this ->attributes ['bar ' ]}:bar " ;
1177
1177
}
@@ -1201,7 +1201,7 @@ protected function setSimple(string $val): void
1201
1201
$ this ->attributes ['simple ' ] = 'oo: ' . $ val ;
1202
1202
}
1203
1203
1204
- protected function getSimple ()
1204
+ protected function getSimple (): string
1205
1205
{
1206
1206
return $ this ->attributes ['simple ' ] . ':oo ' ;
1207
1207
}
@@ -1296,7 +1296,7 @@ protected function getCastEntity($data = null): Entity
1296
1296
'thirteenth ' => 'uri ' ,
1297
1297
];
1298
1298
1299
- public function setSeventh ($ seventh ): void
1299
+ public function setSeventh (string $ seventh ): void
1300
1300
{
1301
1301
$ this ->attributes ['seventh ' ] = $ seventh ;
1302
1302
}
0 commit comments