Skip to content

Commit 28ccea0

Browse files
committed
Remove map from GraphNode
1 parent 28af55b commit 28ccea0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/GraphNode/GraphNode.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,6 @@ public function asArray()
102102
}, $this->fields);
103103
}
104104

105-
/**
106-
* Run a map over each field.
107-
*
108-
* @param \Closure $callback
109-
*
110-
* @return static
111-
*/
112-
public function map(\Closure $callback)
113-
{
114-
return new static(array_map($callback, $this->fields, array_keys($this->fields)));
115-
}
116-
117105
/**
118106
* Get all fields as JSON.
119107
*

0 commit comments

Comments
 (0)