File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,5 @@ public function withName(string $name): ProfileInterface
7474
7575 public function putProfile ()
7676 {
77-
7877 }
7978}
Original file line number Diff line number Diff line change @@ -120,6 +120,5 @@ public function withName(string $name): ProfileInterface
120120
121121 public function putProfile ()
122122 {
123-
124123 }
125124}
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ class Profile extends BaseProfile
1313 public function putProfile (): Profile
1414 {
1515 return $ this ->wait (
16- $ this ->handleCommand (new BuildAsyncFromSyncCommand (self ::HYDRATE_CLASS , $ this ))->then (function (AsyncProfile $ profile ) {
16+ $ this ->handleCommand (
17+ new BuildAsyncFromSyncCommand (self ::HYDRATE_CLASS , $ this )
18+ )->then (function (AsyncProfile $ profile ) {
1719 return $ profile ->putProfile ();
1820 })->then (function (Profile $ profile ) {
1921 return $ this ->handleCommand (new BuildSyncFromAsyncCommand (self ::HYDRATE_CLASS , $ profile ));
@@ -23,8 +25,12 @@ public function putProfile(): Profile
2325
2426 public function refresh () : Profile
2527 {
26- return $ this ->wait ($ this ->handleCommand (new BuildAsyncFromSyncCommand (self ::HYDRATE_CLASS , $ this ))->then (function (ProfileInterface $ profile ) {
27- return $ profile ->refresh ();
28- }));
28+ return $ this ->wait (
29+ $ this ->handleCommand (
30+ new BuildAsyncFromSyncCommand (self ::HYDRATE_CLASS , $ this )
31+ )->then (function (ProfileInterface $ profile ) {
32+ return $ profile ->refresh ();
33+ })
34+ );
2935 }
3036}
You can’t perform that action at this time.
0 commit comments