File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ Added support for the following attributes on collection level:
12
12
- distributeShardsLike
13
13
- smartJoinAttribute (only effective in ArangoDB enterprise edition)
14
14
15
+ Removed unused ` $_action ` member in class ` AqlUserFunction ` , also
16
+ removed its ` __toString() ` method.
17
+
15
18
16
19
Release notes for the ArangoDB-PHP driver 3.4.x
17
20
===============================================
Original file line number Diff line number Diff line change 43
43
*
44
44
* @property string $name - The name of the user function
45
45
* @property string $code - The code of the user function
46
- * @property string _action
47
46
*
48
47
* @package ArangoDBClient
49
48
* @since 1.3
@@ -58,19 +57,12 @@ class AqlUserFunction
58
57
private $ _connection ;
59
58
60
59
/**
61
- * The transaction 's attributes.
60
+ * The function 's attributes.
62
61
*
63
62
* @var array
64
63
*/
65
64
protected $ attributes = [];
66
65
67
- /**
68
- * The transaction's action.
69
- *
70
- * @var string
71
- */
72
- protected $ _action = '' ;
73
-
74
66
/**
75
67
* Collections index
76
68
*/
@@ -367,18 +359,6 @@ public function __get($key)
367
359
}
368
360
369
361
370
- /**
371
- * Returns the action string
372
- *
373
- * @magic
374
- *
375
- * @return string - the current action string
376
- */
377
- public function __toString ()
378
- {
379
- return $ this ->_action ;
380
- }
381
-
382
362
/**
383
363
* Build the object's attributes from a given array
384
364
*
You can’t perform that action at this time.
0 commit comments