diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-01 12:11:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-01 12:11:10 +0000 |
commit | e4ca439ba1f901526526f73adb106f7075fb5f11 (patch) | |
tree | 76eb2589699014fb67f5f10fdaef86d6ba1a0821 /modules/path | |
parent | 534c89f21e46116d1a627057158ca1fd02b129a6 (diff) | |
download | brdo-e4ca439ba1f901526526f73adb106f7075fb5f11.tar.gz brdo-e4ca439ba1f901526526f73adb106f7075fb5f11.tar.bz2 |
- Patch #595084 by c960657: use type hinting for .
Diffstat (limited to 'modules/path')
-rw-r--r-- | modules/path/path.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 9417f8eba..02ee9dc65 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -180,7 +180,7 @@ function path_form_element_validate($element, &$form_state, $complete_form) { /** * Implement hook_node_insert(). */ -function path_node_insert($node) { +function path_node_insert(stdClass $node) { if (isset($node->path)) { $path = $node->path; $path['alias'] = trim($path['alias']); @@ -197,7 +197,7 @@ function path_node_insert($node) { /** * Implement hook_node_update(). */ -function path_node_update($node) { +function path_node_update(stdClass $node) { if (isset($node->path)) { $path = $node->path; $path['alias'] = trim($path['alias']); @@ -218,7 +218,7 @@ function path_node_update($node) { /** * Implement hook_node_delete(). */ -function path_node_delete($node) { +function path_node_delete(stdClass $node) { // Delete all aliases associated with this node. path_delete(array('source' => 'node/' . $node->nid)); } |