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);