From ff4175720dde3ffc6b6a88c299f6acb795ea8610 Mon Sep 17 00:00:00 2001 From: Andrew Menning Date: Fri, 2 Apr 2021 18:27:05 -0400 Subject: [PATCH] Address phpcs items --- tests/Functional/Driver/OCI8/ResultTest.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/Functional/Driver/OCI8/ResultTest.php b/tests/Functional/Driver/OCI8/ResultTest.php index bc269fbc56b..1abc4e8a083 100644 --- a/tests/Functional/Driver/OCI8/ResultTest.php +++ b/tests/Functional/Driver/OCI8/ResultTest.php @@ -22,7 +22,9 @@ */ class ResultTest extends FunctionalTestCase { - // @var array + /** + * @var array + */ private $connectionParams; protected function setUp(): void @@ -68,7 +70,7 @@ public function testTruncatedFetch(): void // Create a pipelined funtion that returns 10 rows more than the // oci8 default prefetch $this->createReturnTypeNeededForPipelinedFunction(); - $expectedTotalRowCount = ((int) ini_get('oci8.default_prefetch')) + 10; + $expectedTotalRowCount = (int) ini_get('oci8.default_prefetch') + 10; $this->createPipelinedFunction($expectedTotalRowCount); // Create a separate connection from that used to create/update the function @@ -83,7 +85,7 @@ public function testTruncatedFetch(): void 'SELECT * FROM TABLE(%s.test_oracle_fetch_failure())', $this->connectionParams['user'] )); - $result = $statement->execute(); + $result = $statement->execute(); // Access the first result to cause the first X rows to be prefetched // as defined by oci8.default_prefetch (often 100 rows)