From 8ec227b0c034dae296af393eb9eb34b17a00b1f1 Mon Sep 17 00:00:00 2001 From: jmcollin Date: Tue, 1 Oct 2019 18:02:11 +0200 Subject: [PATCH] Remove version --- composer.json | 1 - composer.lock | 4 ++-- src/AutoIndex/AutoIndex.php | 8 ++++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 4f8d5fa..c9dc71e 100755 --- a/composer.json +++ b/composer.json @@ -3,7 +3,6 @@ "description": "Automatically add an index.php in all directories recursively", "type": "library", "license": "MIT", - "version": "1.0.0", "keywords": [ "directory-traversal-vulnerability", "security", diff --git a/composer.lock b/composer.lock index 8ea4a18..a5bd078 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ca090c49c6673920fde02f66f12fc377", + "content-hash": "bb1ccde1ed25f63977f795284cb056c4", "packages": [], "packages-dev": [ { @@ -3321,7 +3321,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.1" + "php": ">=7.1" }, "platform-dev": [] } diff --git a/src/AutoIndex/AutoIndex.php b/src/AutoIndex/AutoIndex.php index dcd1902..689e501 100755 --- a/src/AutoIndex/AutoIndex.php +++ b/src/AutoIndex/AutoIndex.php @@ -28,9 +28,9 @@ class AutoIndex /** * Constructor. - * - * @param string $directoryPath - * @param string $sourcePath + * + * @param string $directoryPath + * @param string $sourcePath */ public function __construct($directoryPath, $sourcePath) { @@ -43,7 +43,7 @@ public function __construct($directoryPath, $sourcePath) /** * Set the path name to be used. * - * @param string $path + * @param string $path * * @throws \InvalidArgumentException When directory isn't set */