Skip to content

Commit d13c659

Browse files
committed
added plane format
1 parent 3e5d078 commit d13c659

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Formatters/PlaneCommand.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
);

0 commit comments

Comments
 (0)