{"push_id":566878009,"size":1,"distinct_size":1,"ref":"refs/heads/5.0","head":"5adc3603fab3aa240ec002b1861a3b968446e892","before":"8865d2276be94f0a3497ba3bd26c906ae9e91e1c","commits":[{"sha":"5adc3603fab3aa240ec002b1861a3b968446e892","author":{"email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@alvintanjaya.com","name":"Alvin Tanjaya"},"message":"Update mergeConfigFrom use array_replace_recursive\n\nusing array_merge will only merge the first dimension array and not take default value from second level of dimension array, I think using array_replace_recursive is better so that user can only override certain value from multidimensional array.\r\n\r\nExample :\r\n\r\nDefault config :\r\nreturn [\r\n     'first' => [\r\n             'second' => [\r\n                     'param1' => 'value1',\r\n                     'param2' => 'value2'\r\n             ]\r\n     ]\r\n];\r\n\r\nUser Config :\r\nreturn [\r\n     'first' => [\r\n          'second' => [\r\n               'param1' => 'value1'\r\n          ]\r\n     ]\r\n];\r\n\r\nIf using array_merge, param 2 won't included, if using array_replace_recursive it will be included.","distinct":true,"url":"https://api.github.com/repos/xian13/framework/commits/5adc3603fab3aa240ec002b1861a3b968446e892"}]}