Skip to content

Commit

Permalink
MDL-28932 remove type hinting which is not compatible with PHP 4
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Aug 21, 2011
1 parent 0795088 commit 93b06d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ function tag_compute_correlations($mincorrelation = 2) {
* @param stdClass $tagcorrelation
* @return int The id of the tag correlation that was just processed.
*/
function tag_process_computed_correlation(stdClass $tagcorrelation) {
function tag_process_computed_correlation($tagcorrelation) {

// You must provide a tagid and correlatedtags must be set and be an array
if (empty($tagcorrelation->tagid) || !isset($tagcorrelation->correlatedtags) || !is_array($tagcorrelation->correlatedtags)) {
Expand Down

0 comments on commit 93b06d0

Please sign in to comment.