This repository was archived by the owner on Apr 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -120,13 +120,13 @@ public function buildWriter(array $keys = null): self
120
120
if (is_null (config ($ key , null ))) {
121
121
$ this ->addLogEntry ('" ' .__CLASS__ .'" cannot process null value for key " ' .$ key .'". ' , 'debug ' );
122
122
continue ;
123
- } else if (! function_exists ($ mapping ['validator ' ])) {
123
+ } elseif (! function_exists ($ mapping ['validator ' ])) {
124
124
$ this ->addLogEntry ('" ' .__CLASS__ .'" cannot find "validator" function named " ' .$ mapping ['validator ' ].'". ' , 'warning ' );
125
125
continue ;
126
- } else if (! $ mapping ['validator ' ](config ($ key ))) {
126
+ } elseif (! $ mapping ['validator ' ](config ($ key ))) {
127
127
$ this ->addLogEntry ('" ' .__CLASS__ .'" failed the "validator" function named " ' .$ mapping ['validator ' ].'". ' , 'warning ' );
128
128
continue ;
129
- } else if (array_key_exists ('self ' , $ mapping ) && is_bool ($ mapping ['self ' ]) && $ mapping ['self ' ] === true ) {
129
+ } elseif (array_key_exists ('self ' , $ mapping ) && is_bool ($ mapping ['self ' ]) && $ mapping ['self ' ] === true ) {
130
130
if (! method_exists ($ this , $ mapping ['setter ' ])) {
131
131
$ this ->addLogEntry ('" ' .__CLASS__ .'" cannot find mapping "setter" method on object " ' .get_class ($ this ).'" named " ' .$ mapping ['setter ' ].'". ' , 'error ' );
132
132
continue ;
You can’t perform that action at this time.
0 commit comments