File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ function ($result, $contentItem) {
4747 private function getPlaneItem (
4848 $ contentItem ,
4949 $ prefixKey ,
50- $ history ,
5150 $ firstContent ,
5251 $ secondContent ,
5352 ): string {
@@ -117,8 +116,6 @@ private function stylizeDifference(array $content): array
117116 function ($ result , $ contentItem ) {
118117 $ firstContent = $ contentItem ["file1Content " ];
119118 $ secondContent = $ contentItem ["file2Content " ];
120- $ firstContentIsArray = is_array ($ firstContent ) && !is_array ($ secondContent );
121- $ secondContentIsArray = !is_array ($ firstContent ) && is_array ($ secondContent );
122119 $ bothContentIsArray = is_array ($ firstContent ) && is_array ($ secondContent );
123120
124121 if ($ bothContentIsArray ) {
@@ -136,7 +133,6 @@ function ($result, $contentItem) {
136133 $ styledItem = $ this ->getPlaneItem (
137134 contentItem: $ contentItem ,
138135 prefixKey: $ contentItem ["status " ],
139- history: $ contentItem ["history " ],
140136 firstContent: $ firstContent ,
141137 secondContent: $ secondContent
142138 );
You can’t perform that action at this time.
0 commit comments