original_string: public function wasWithinLast($timeInterval)
      {
          $tmp = trim($timeInterval);
          if (is_numeric($tmp)) {
              deprecationWarning(
                  'Passing int/numeric string into Time::wasWithinLast() is deprecated. ' .
                  'Pass strings including interval eg. "6 days"'
              );
              $timeInterval = $tmp . ' days';
          }
  
          return parent::wasWithinLast($timeInterval);
      }
code: public function wasWithinLast($timeInterval)
      {
          $tmp = trim($timeInterval);
          if (is_numeric($tmp)) {
              deprecationWarning(
                  'Passing int/numeric string into Time::wasWithinLast() is deprecated. ' .
                  'Pass strings including interval eg. "6 days"'
              );
              $timeInterval = $tmp . ' days';
          }
  
          return parent::wasWithinLast($timeInterval);
      }
code_tokens: public function wasWithinLast ( $ timeInterval ) { $ tmp = trim ( $ timeInterval ) ; if ( is_numeric ( $ tmp ) ) { deprecationWarning ( 'Passing int/numeric string into Time::wasWithinLast() is deprecated. ' . 'Pass strings including interval eg. "6 days"' ) ; $ timeInterval = $ tmp . ' days' ; } return parent :: wasWithinLast ( $ timeInterval ) ; }
docstring: Returns true this instance will happen within the specified interval
  
  This overridden method provides backwards compatible behavior for integers,
  or strings with trailing spaces. This behavior is *deprecated* and will be
  removed in future versions of CakePHP.
  
  @param string|int $timeInterval the numeric value with space then time type.
  Example of valid types: 6 hours, 2 days, 1 minute.
  @return bool
docstring_tokens: Returns true this instance will happen within the specified interval