1 | <?php defined('SYSPATH') OR die('No direct script access.'); |
||
11 | class Kohana_Jam_Countcache { |
||
12 | |||
13 | 3 | public static function update_counters($model, $ids, array $counters) |
|
31 | |||
32 | public static function increment($model, $counter, $id) |
||
36 | |||
37 | public static function decrement($model, $counter, $id) |
||
41 | } |
||
42 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.