diff --git a/README.md b/README.md index cf1bee7..b967cfe 100644 --- a/README.md +++ b/README.md @@ -332,12 +332,12 @@ $config = [ ## API Reference -| Method | Returns | Added in | Changed in | -|------------------------------------------------------------------|:-------:|:--------:|:----------:| -| `make(string $text, string $preset = 'opengraph')` | self | 0.1.0 | 0.2.0 | -| `makeCustom(string $text, int $width = 1200, int $height = 630)` | self | 0.2.0 | - | -| `get()` | string | 0.1.0 | - | -| `save(string $path)` | boolean | 0.1.0 | - | +| Method | Returns | Added in | Changed in | +|-------------------------------------------------------|:-------:|:--------:|:----------:| +| `make(string $text, string $preset = 'opengraph')` | self | 0.1.0 | 0.2.0 | +| `makeCustom(string $text, int $width, int $height)` | self | 0.2.0 | - | +| `get()` | string | 0.1.0 | - | +| `save(string $path)` | boolean | 0.1.0 | - | ### Images aspect ratios diff --git a/src/Facades/OpenGraphImages.php b/src/Facades/OpenGraphImages.php index 241af6d..6301bbe 100644 --- a/src/Facades/OpenGraphImages.php +++ b/src/Facades/OpenGraphImages.php @@ -5,9 +5,8 @@ use Illuminate\Support\Facades\Facade; /** - * @method static \Abordage\LaravelOpenGraphImages\OpenGraphImages make(string $text, int $width = 1200, int $height = 630) - * @method static \Abordage\LaravelOpenGraphImages\OpenGraphImages makeTwitter(string $text) - * @method static \Abordage\LaravelOpenGraphImages\OpenGraphImages makeVk(string $text) + * @method static \Abordage\LaravelOpenGraphImages\OpenGraphImages make(string $text, string $preset = 'opengraph') + * @method static \Abordage\LaravelOpenGraphImages\OpenGraphImages makeCustom(string $text, int $width, int $height) * @method string|null get() * @method bool save(string $path) *