From ba29facaffa3840df6c98481622adaec8b25ed42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Mach=C3=A1=C4=8Dek?= <8machy@seznam.cz> Date: Thu, 28 Sep 2017 23:24:10 +0200 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9f073d6..5cd2ae7 100644 --- a/README.md +++ b/README.md @@ -69,14 +69,14 @@ Direct and main information can be found on [https://developers.google.com/closu Returns [GoogleClosureCompiler\Response](https://github.com/Machy8/google-closure-compiler/blob/master/src/Compiler/Response.php) if connection was successful otherwise returns NULL. | Method | Parameters | Constants | -|:---------------------:|:------------------------:|:-------------------:| +|-----------------------|--------------------------|---------------------| | compile | | | | enableClosureCompiler | | | | enableStatistics | | | | excludeDefaultExterns | | | -| setCodeUrl | string | string [] $url | | +| setCodeUrl | string \| string [] $url | | | setCompilationLevel | string $level | COMPILATION_LEVEL_* | -| setExternsUrl | string | string[] $value | | +| setExternsUrl | string \| string[] $value| | | setFormattingType | string $type | FORMATTING_* | | setJsCode | string $code | | | setJsExterns | string $jsCode | | @@ -86,10 +86,10 @@ Returns [GoogleClosureCompiler\Response](https://github.com/Machy8/google-closur | setWarningLevel | string $level | WARNING_LEVEL_* | ### Response -Is parsed json from previous request +Is parsed json from response of previous request. | Method | Returns | -|:-----------------------:|:-------------------------------------------------:| +|-------------------------|---------------------------------------------------| | getCompiledCode | string - compiled code | | getErrors | array - errors | | getOutputFilePath | string - url path to file |