Skip to content

Commit

Permalink
Adding Ability to use actual config object in Grouped - Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenikkusu authored and niden committed Nov 11, 2019
1 parent 13fdf54 commit 8fd26b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/Config/Adapter/Grouped.zep
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class Grouped extends Config
let configInstance = configName;

// Set to default adapter if passed as string
if typeof configName === "Phalcon\\Config" {
if configName instanceof "Phalcon\\Config" {
this->merge(configInstance);
continue;
} elseif typeof configName === "string" {
Expand Down

0 comments on commit 8fd26b8

Please sign in to comment.