File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed
Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 44
55interface Caseable
66{
7- const CAMEL_CASE = 1 ;
7+ public const CAMEL_CASE = 1 ;
88
9- const KEBAB_CASE = 3 ;
9+ public const KEBAB_CASE = 3 ;
1010
11- const NO_CASE = 0 ;
11+ public const NO_CASE = 0 ;
1212
13- const PASCAL_CASE = 4 ;
13+ public const PASCAL_CASE = 4 ;
1414
15- const SNAKE_CASE = 2 ;
15+ public const SNAKE_CASE = 2 ;
1616
1717 public function setCase (int $ type = self ::NO_CASE ): void ;
1818}
Original file line number Diff line number Diff line change 11<?php
22
3- return array (
4- 'foo ' => 1 ,
5- 'bar ' => 2 ,
6- 'baz ' => 3 ,
3+ return [
4+ 'foo ' => 1 ,
5+ 'bar ' => 2 ,
6+ 'baz ' => 3 ,
77 'qwe rty ' => 'qaz ' ,
8- 'baq ' => array (
9- 0 => 'qwe ' ,
10- '1 ' => 'rty ' ,
8+ 'baq ' => [
9+ 0 => 'qwe ' ,
10+ '1 ' => 'rty ' ,
1111 'asd ' => 'zxc ' ,
12- ) ,
13- 'asd fgh ' => array (
12+ ] ,
13+ 'asd fgh ' => [
1414 'foo bar baz ' => 'qwe ' ,
15- 2 => 'rty ' ,
16- 'qaw sed ' => 'zxc ' ,
17- ) ,
15+ 2 => 'rty ' ,
16+ 'qaw sed ' => 'zxc ' ,
17+ ] ,
1818 2 => 'iop ' ,
19- ) ;
19+ ] ;
You can’t perform that action at this time.
0 commit comments