Code Duplication    Length = 4-4 lines in 2 locations

src/Console.php 2 locations

@@ 90-93 (lines=4) @@
87
					}
88
89
					// If the class isn't instantiable, it isn't a valid command
90
					if ((new \ReflectionClass($className))->isInstantiable())
91
					{
92
						$commands[strtolower("$namespace:" . str_replace('Command', '', $command))] = $this->getContainer()->get($className);
93
					}
94
				}
95
			}
96
			else
@@ 107-110 (lines=4) @@
104
				}
105
106
				// If the class isn't instantiable, it isn't a valid command
107
				if ((new \ReflectionClass($className))->isInstantiable())
108
				{
109
					$commands[strtolower(str_replace('Command', '', $command))] = $this->getContainer()->get($className);
110
				}
111
			}
112
		}
113