File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 99
1010class ConfigPropsFactory
1111{
12- /**
13- * Get expected instance of Config Props
14- *
15- * @param array $props
16- * @return ConfigPropsInterface
17- */
12+ /**
13+ * Get expected instance of Config Props
14+ *
15+ * @param array $props
16+ * @param string|null $configProps
17+ * @return ConfigPropsInterface
18+ */
1819 public static function create (array $ props , ?string $ configProps = null ): ConfigPropsInterface
1920 {
20- $ override = ($ configProps !== null ) ? $ configProps : '\\Configs \\ConfigProps ' ;
21+ $ override = ($ configProps !== null ) ? $ configProps : '\\Configs \\CliOptions ' ;
2122 $ default = \MaplePHP \Unitary \Config \ConfigProps::class;
2223 $ name = (class_exists ($ override )) ? $ override : $ default ;
2324 if (!is_subclass_of ($ name , ConfigPropsInterface::class)) {
You can’t perform that action at this time.
0 commit comments