@@ -129,7 +129,7 @@ function (Request $request, array $options) {
129129 * @param HandlerInterface|null $handler
130130 * @return $this
131131 */
132- private function setHandler (HandlerInterface $ handler = null )
132+ protected function setHandler (HandlerInterface $ handler = null )
133133 {
134134 $ this ->handler = $ handler ?? HttPlugHandle::createForClient (
135135 Client::createWithConfig ($ this ->handlerOptions )
@@ -142,7 +142,7 @@ private function setHandler(HandlerInterface $handler = null)
142142 /**
143143 * Adds middleware to the handler.
144144 */
145- private function addMiddleware ()
145+ protected function addMiddleware ()
146146 {
147147 foreach ($ this ->middlewares as $ middleware ) {
148148 $ this ->handler ->addMiddleware ($ middleware );
@@ -399,7 +399,7 @@ public function byConfig(string $setup)
399399 * @param array $items
400400 * @return array
401401 */
402- private function arrayKeysToCamel (array $ items )
402+ protected function arrayKeysToCamel (array $ items )
403403 {
404404 $ changedItems = [];
405405 foreach ($ items as $ key => $ value ) {
@@ -505,7 +505,7 @@ public function buildStubHandler()
505505 /**
506506 * @return $this
507507 */
508- private function refreshEngine ()
508+ protected function refreshEngine ()
509509 {
510510 $ this ->refreshExtSoapOptions ();
511511 $ this ->engine = ExtSoapEngineFactory::fromOptionsWithHandler (
@@ -517,7 +517,7 @@ private function refreshEngine()
517517 return $ this ;
518518 }
519519
520- private function refreshExtSoapOptions ()
520+ protected function refreshExtSoapOptions ()
521521 {
522522 if ($ this ->factory ->isRecording ()) {
523523 $ this ->baseWsdl ($ this ->factory ->getFakeWsdl ());
0 commit comments