@@ -882,8 +882,8 @@ class Model {
882882 $ child_configs = $ this ->get_config ("$ parent_model ->config_path / $ parent_id/ $ this ->config_path " , []);
883883
884884 foreach ($ child_configs as $ child_id => $ child_config ) {
885- $ child_config [" parent_id " ] = $ parent_id ;
886- $ child_config [" id " ] = $ child_id ;
885+ $ child_config [' parent_id ' ] = $ parent_id ;
886+ $ child_config [' id ' ] = $ child_id ;
887887 $ internal_objects [] = $ child_config ;
888888 }
889889 }
@@ -1927,11 +1927,7 @@ class Model {
19271927 * @return ModelSet|Model Returns a ModelSet of Models if `many` is enabled or a single Model object if `many` is
19281928 * not enabled.
19291929 */
1930- public static function read_all (
1931- int $ limit = 0 ,
1932- int $ offset = 0 ,
1933- bool $ reverse = false ,
1934- ): ModelSet |Model {
1930+ public static function read_all (int $ limit = 0 , int $ offset = 0 , bool $ reverse = false ): ModelSet |Model {
19351931 # Variables
19361932 $ model_name = get_called_class ();
19371933 $ model = new $ model_name ();
@@ -2469,12 +2465,7 @@ class Model {
24692465 }
24702466
24712467 # Obtain all Model objects that match the query of objects to be deleted
2472- $ model_objects = self ::query (
2473- query_params: $ query_params ,
2474- excluded: $ excluded ,
2475- limit: $ limit ,
2476- offset: $ offset ,
2477- );
2468+ $ model_objects = self ::query (query_params: $ query_params , excluded: $ excluded , limit: $ limit , offset: $ offset );
24782469
24792470 # Reset the object cache as the config has changed
24802471 Model::$ object_cache = [];
0 commit comments