You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecation notice of method which is only used for old deprecated options, which should have been removed in 2.x but are still available now, and will finally be removed in 3.1
Copy file name to clipboardExpand all lines: lib/triagens/ArangoDb/Handler.php
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ protected function getConnectionOption($optionName)
68
68
*
69
69
* @param mixed $options - $options might be a boolean sanitize value, or an array of options, with or without a '_sanitize' key.
70
70
*
71
+
* @deprecated To be removed in a future version (probably even in some 3.x version). It's used up until now because of usage of old deprecated options, which will be removed in 3.1.
71
72
* @return array - array of options
72
73
*/
73
74
protectedfunctiongetCursorOptions($options)
@@ -109,7 +110,7 @@ protected function json_encode_wrapper($body)
109
110
}
110
111
111
112
112
-
//todo: (@frankmayer) check if refactoring a bit more if it makes sense...
113
+
//todo: (@frankmayer) check if refactoring a bit more makes sense...
113
114
/**
114
115
* Helper function that validates and includes an old single method parameter setting into the parameters array given.
115
116
* This is only for keeping backwards-compatibility where methods had for example a parameter which was called 'policy' and
@@ -147,7 +148,7 @@ protected function validateAndIncludeOldSingleParameterInParams($options, $param
147
148
}
148
149
149
150
150
-
//todo: (@frankmayer) check if refactoring a bit more if it makes sense...
151
+
//todo: (@frankmayer) check if refactoring a bit more makes sense...
151
152
/**
152
153
* Helper function that runs through the options given and includes them into the parameters array given.
153
154
* Only options that are set in $includeArray will be included.
@@ -176,7 +177,7 @@ protected function includeOptionsInParams($options, $params, array $includeArray
176
177
}
177
178
178
179
179
-
//todo: (@frankmayer) check if refactoring a bit more if it makes sense...
180
+
//todo: (@frankmayer) check if refactoring a bit more makes sense...
180
181
/**
181
182
* Helper function that runs through the options given and includes them into the parameters array given.
182
183
* Only options that are set in $includeArray will be included.
0 commit comments