| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | static function sync() { |
||
| 20 | $query_string = self::getQueryString(); |
||
| 21 | $constantCheckSum = crc32( $query_string ); |
||
| 22 | |||
| 23 | if ( Jetpack_Options::get_option( 'constant_check_sum' ) !== $constantCheckSum ) { |
||
| 24 | Jetpack_Options::update_option( 'constant_check_sum', $constantCheckSum ); |
||
| 25 | return $query_string; |
||
| 26 | } |
||
| 27 | return null; |
||
| 28 | } |
||
| 29 | |||
| 55 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.