comparison vendor/psy/psysh/test/ClassWithSecrets.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 5fb285c0d0e3
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
18 private $privateProp = 'private and prop'; 18 private $privateProp = 'private and prop';
19 19
20 private static function privateStaticMethod($extra = null) 20 private static function privateStaticMethod($extra = null)
21 { 21 {
22 if ($extra !== null) { 22 if ($extra !== null) {
23 return 'private and static and method with ' . json_encode($extra); 23 return 'private and static and method with ' . \json_encode($extra);
24 } 24 }
25 25
26 return 'private and static and method'; 26 return 'private and static and method';
27 } 27 }
28 28
29 private function privateMethod($extra = null) 29 private function privateMethod($extra = null)
30 { 30 {
31 if ($extra !== null) { 31 if ($extra !== null) {
32 return 'private and method with ' . json_encode($extra); 32 return 'private and method with ' . \json_encode($extra);
33 } 33 }
34 34
35 return 'private and method'; 35 return 'private and method';
36 } 36 }
37 } 37 }