Permalink
Browse files

Minor fix for static PHP function

  • Loading branch information...
1 parent 9a8f714 commit c6effadac23b32f3e481b0ea0bc9a5eae3668013 @bmoeskau committed May 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/calendar/remote/php/lib/test_data.php
@@ -7,7 +7,7 @@ class TestData {
/**
* Helper method to generate dates relative to the current date
*/
- private function getDt($format) {
+ private static function getDt($format) {
// Today (date only with no time component so everything starts consistently)
$today = date('Y-m-d');
// Add/subtract from today based on the format passed in, e.g. "+5 days"

0 comments on commit c6effad

Please sign in to comment.