Open utdrmac opened 8 months ago
Docs show using Image::create() https://mario.engineering/notion-sdk-php/blocks/Image.html
But that static function does not exist:
$ grep "function create" vendor/mariosimao/notion-sdk-php/src/Blocks/Image.php $ echo $? 1
use Notion\Blocks\Image::fromFile($file) instead.
Notion\Blocks\Image::fromFile($file)
Docs show using Image::create() https://mario.engineering/notion-sdk-php/blocks/Image.html
But that static function does not exist: