From c17e083c869e6e1a3efd6334071ef62defafe841 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Sun, 28 Jan 2024 10:41:41 +0000 Subject: [PATCH] fix: [codingstyle] --- src/Lib/Tools/CurlAdvanced.php | 14 +++++++------- src/Model/Table/CerebratesTable.php | 11 +++-------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/src/Lib/Tools/CurlAdvanced.php b/src/Lib/Tools/CurlAdvanced.php index e92762fe9..d61c1667f 100644 --- a/src/Lib/Tools/CurlAdvanced.php +++ b/src/Lib/Tools/CurlAdvanced.php @@ -1,4 +1,5 @@ true, // ask curl for the certificate information + CURLOPT_CERTINFO => true, // ask curl for the certificate information // CURLOPT_VERBOSE => true, - CURLOPT_NOBODY => true, // no need for the body + CURLOPT_NOBODY => true, // no need for the body ]; - + $options = $this->buildOptions($request, $options); curl_setopt_array($ch, $options); diff --git a/src/Model/Table/CerebratesTable.php b/src/Model/Table/CerebratesTable.php index 2df55be52..0adfb5cee 100644 --- a/src/Model/Table/CerebratesTable.php +++ b/src/Model/Table/CerebratesTable.php @@ -1,13 +1,8 @@ false, 'cascadeCallbacks' => false, 'foreignKey' => 'org_id', - 'propertyName' => 'Organisation' + 'propertyName' => 'Organisation', ] );