diff --git a/src/Comcast/PhpLegalLicenses/Command/GenerateCommand.php b/src/Comcast/PhpLegalLicenses/Command/GenerateCommand.php index 64c8dd5e..fbd8f268 100644 --- a/src/Comcast/PhpLegalLicenses/Command/GenerateCommand.php +++ b/src/Comcast/PhpLegalLicenses/Command/GenerateCommand.php @@ -74,7 +74,7 @@ protected function parseComposerLockFile() * @param array $dependencies * @return void */ - protected function generateLicensesText(array $dependencies) + protected function generateLicensesText($dependencies) { $text = $this->getBoilerplate(); @@ -106,7 +106,7 @@ protected function getBoilerplate() * @param array $dependency * @return string */ - protected function getTextForDependency(array $dependency) + protected function getTextForDependency($dependency) { $name = $dependency['name']; $description = isset($dependency['description']) ? $dependency['description'] : 'Not configured.'; @@ -124,7 +124,7 @@ protected function getTextForDependency(array $dependency) * @param string $name * @return string */ - protected function getFullLicenseText(string $name) + protected function getFullLicenseText($name) { $path = getcwd() . "/vendor/$name/"; $filenames = ['LICENSE.txt', 'LICENSE.md', 'LICENSE', 'license.txt', 'license.md', 'license']; @@ -151,7 +151,7 @@ protected function getFullLicenseText(string $name) * @param string $license * @return string */ - protected function generateDependencyText(string $name, string $description, string $version, string $homepage, string $sha, string $licenseNames, string $license) + protected function generateDependencyText($name, $description, $version, $homepage, $sha, $licenseNames, $license) { return "### $name (Version $version | $sha) $description