From c1e4f9f30563d5eda1718d716d631d6092cd4e28 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 25 Jan 2018 23:06:53 +0100 Subject: Use type casting instead of *val() method It should be up to 6x faster Signed-off-by: Morris Jobke --- core/Command/Integrity/CheckApp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Command/Integrity') diff --git a/core/Command/Integrity/CheckApp.php b/core/Command/Integrity/CheckApp.php index 3e4d8b9cba7..d0dfbcada3a 100644 --- a/core/Command/Integrity/CheckApp.php +++ b/core/Command/Integrity/CheckApp.php @@ -63,7 +63,7 @@ class CheckApp extends Base { */ protected function execute(InputInterface $input, OutputInterface $output) { $appid = $input->getArgument('appid'); - $path = strval($input->getOption('path')); + $path = (string)$input->getOption('path'); $result = $this->checker->verifyAppSignature($appid, $path); $this->writeArrayInOutputFormat($input, $output, $result); if (count($result)>0){ -- cgit v1.2.3