From d1ef2caf45485c2bc93c90c10e96507e1515dedf Mon Sep 17 00:00:00 2001 From: Alex Vanderbist Date: Wed, 1 Feb 2017 10:57:34 +0100 Subject: [PATCH] Code cleanup --- src/TemporaryDirectory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TemporaryDirectory.php b/src/TemporaryDirectory.php index 337291b..234d779 100644 --- a/src/TemporaryDirectory.php +++ b/src/TemporaryDirectory.php @@ -55,7 +55,7 @@ public function force() * * @return $this */ - public function name($name) + public function name(string $name) { $this->name = $this->sanitizeName($name); @@ -67,7 +67,7 @@ public function name($name) * * @return $this */ - public function location($location) + public function location(string $location) { $this->location = $this->sanitizePath($location);