File tree Expand file tree Collapse file tree 3 files changed +7
-70
lines changed Expand file tree Collapse file tree 3 files changed +7
-70
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Or manually update `require` block of `composer.json` and run `composer update`.
2626``` json
2727{
2828 "require" : {
29- "cashier-provider/core" : " ^2 .0"
29+ "cashier-provider/core" : " ^3 .0"
3030 }
3131}
3232```
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function model(): Model
7373
7474 public function uri (): HttpBuilderContract
7575 {
76- return $ this ->getUriBuilder ()->getWithPath ($ this ->path );
76+ return $ this ->getUriBuilder ()->getWithPath ($ this ->getPath () );
7777 }
7878
7979 public function headers (): array
@@ -114,6 +114,11 @@ protected function getUriBuilder(): URI
114114 return URI ::make ($ this ->production_host , $ this ->dev_host , Main::isProduction ());
115115 }
116116
117+ protected function getPath (): ?string
118+ {
119+ return $ this ->path ;
120+ }
121+
117122 /**
118123 * @param \DragonCode\Contracts\Cashier\Resources\Model $model
119124 *
You can’t perform that action at this time.
0 commit comments