Browse Source

Fix deprecations.

mscherer 2 years ago
parent
commit
b148d31154
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Model/Table/Table.php

+ 1 - 1
src/Model/Table/Table.php

@@ -417,7 +417,7 @@ class Table extends ShimTable {
 		}
 		$format = !empty($options['format']) ? $options['format'] : 'ymd';
 
-		/** @var \Cake\Chronos\ChronosDate|mixed $datetime */
+		/** @var \Cake\Chronos\ChronosDate|mixed $date */
 		$date = $value;
 		if (!is_object($value)) {
 			$date = new Date($value);