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:
@@ -80,7 +80,7 @@ function links() {
|
|||||||
* @param string $path
|
* @param string $path
|
||||||
* @return \Illuminate\Support\Collection
|
* @return \Illuminate\Support\Collection
|
||||||
*/
|
*/
|
||||||
function getCertificates(string $path)
|
function getCertificates($path)
|
||||||
{
|
{
|
||||||
return collect($this->files->scanDir($path))->filter(function ($value, $key) {
|
return collect($this->files->scanDir($path))->filter(function ($value, $key) {
|
||||||
return ends_with($value, '.crt');
|
return ends_with($value, '.crt');
|
||||||
@@ -96,7 +96,7 @@ function getCertificates(string $path)
|
|||||||
* @param \Illuminate\Support\Collection $certs
|
* @param \Illuminate\Support\Collection $certs
|
||||||
* @return \Illuminate\Support\Collection
|
* @return \Illuminate\Support\Collection
|
||||||
*/
|
*/
|
||||||
function getLinks(string $path, \Illuminate\Support\Collection $certs)
|
function getLinks($path, $certs)
|
||||||
{
|
{
|
||||||
$config = $this->config->read();
|
$config = $this->config->read();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user