Skip to content
This repository
Browse code

Minor fix for static PHP function

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

0 notes on commit c6effad

Please sign in to comment.
Something went wrong with that request. Please try again.