1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00

Obliterate filthy typehints

This commit is contained in:
Adam Wathan
2017-04-04 09:12:21 -04:00
parent 79d916d499
commit 4743c118d6

View File

@@ -80,7 +80,7 @@ function links() {
* @param string $path
* @return \Illuminate\Support\Collection
*/
function getCertificates(string $path)
function getCertificates($path)
{
return collect($this->files->scanDir($path))->filter(function ($value, $key) {
return ends_with($value, '.crt');
@@ -96,7 +96,7 @@ function getCertificates(string $path)
* @param \Illuminate\Support\Collection $certs
* @return \Illuminate\Support\Collection
*/
function getLinks(string $path, \Illuminate\Support\Collection $certs)
function getLinks($path, $certs)
{
$config = $this->config->read();