private static function extractHash(string $response): ?string
    {
        $parts = \array_map('trim', \explode(' ', $response));

        return $parts[0] ?? null;
    }
private static function extractHash(string $response): ?string
    {
        $parts = \array_map('trim', \explode(' ', $response));

        return $parts[0] ?? null;
    }
private static function extractHash ( string $ response ) : ? string { $ parts = \ array_map ( 'trim' , \ explode ( ' ' , $ response ) ) ; return $ parts [ 0 ] ?? null ; }
Get a hash from the stdOut.

@param string $response

@return string|null
Get a hash from the stdOut .