@@ -524,8 +524,7 @@ protected function mockSuccessfulRfcPing()
524
524
$ flags ->func = null ;
525
525
$ expectedConfig = static ::getSampleSapConfig ();
526
526
static ::mock ('\SAPNWRFC\Connection::__construct ' , static function (array $ config , array $ options ) use ($ flags , $ expectedConfig ) {
527
- if (
528
- !is_array ($ config )
527
+ if (!is_array ($ config )
529
528
|| !array_key_exists ('ashost ' , $ config )
530
529
|| !array_key_exists ('sysnr ' , $ config )
531
530
|| !array_key_exists ('client ' , $ config )
@@ -591,8 +590,7 @@ protected function mockUnknownFunctionException()
591
590
$ flags ->conn = false ;
592
591
$ expectedConfig = static ::getSampleSapConfig ();
593
592
static ::mock ('\SAPNWRFC\Connection::__construct ' , static function (array $ config , array $ options ) use ($ flags , $ expectedConfig ) {
594
- if (
595
- !is_array ($ config )
593
+ if (!is_array ($ config )
596
594
|| !array_key_exists ('ashost ' , $ config )
597
595
|| !array_key_exists ('sysnr ' , $ config )
598
596
|| !array_key_exists ('client ' , $ config )
@@ -634,8 +632,7 @@ protected function mockRemoteFunctionCallWithParametersAndResults()
634
632
$ flags ->api = static ::$ rfcWalkThruTestApi ;
635
633
$ expectedConfig = static ::getSampleSapConfig ();
636
634
static ::mock ('\SAPNWRFC\Connection::__construct ' , static function (array $ config , array $ options ) use ($ flags , $ expectedConfig ) {
637
- if (
638
- !is_array ($ config )
635
+ if (!is_array ($ config )
639
636
|| !array_key_exists ('ashost ' , $ config )
640
637
|| !array_key_exists ('sysnr ' , $ config )
641
638
|| !array_key_exists ('client ' , $ config )
@@ -730,8 +727,7 @@ protected function mockFailedRemoteFunctionCallWithParameters()
730
727
$ flags ->api = static ::$ rfcReadTableApi ;
731
728
$ expectedConfig = static ::getSampleSapConfig ();
732
729
static ::mock ('\SAPNWRFC\Connection::__construct ' , static function (array $ config , array $ options ) use ($ flags , $ expectedConfig ) {
733
- if (
734
- !is_array ($ config )
730
+ if (!is_array ($ config )
735
731
|| !array_key_exists ('ashost ' , $ config )
736
732
|| !array_key_exists ('sysnr ' , $ config )
737
733
|| !array_key_exists ('client ' , $ config )
0 commit comments