Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
abordage committed Jun 3, 2022
1 parent e649b88 commit a04b593
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 2 additions & 3 deletions src/Facades/OpenGraphImages.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*
Expand Down

0 comments on commit a04b593

Please sign in to comment.