| @@ 64-69 (lines=6) @@ | ||
| 61 | 'contents' => $this->type |
|
| 62 | ]; |
|
| 63 | } |
|
| 64 | if (null !== $this->branch) { |
|
| 65 | $data[] = [ |
|
| 66 | 'name' => 'branch', |
|
| 67 | 'contents' => $this->branch |
|
| 68 | ]; |
|
| 69 | } |
|
| 70 | foreach ($this->translations as $translation) { |
|
| 71 | $data[] = [ |
|
| 72 | 'name' => 'files['.$translation->getCrowdinPath().']', |
|
| @@ 55-60 (lines=6) @@ | ||
| 52 | ); |
|
| 53 | ||
| 54 | $data = $this->parameters; |
|
| 55 | if (null !== $this->branch) { |
|
| 56 | $data[] = [ |
|
| 57 | 'name' => 'branch', |
|
| 58 | 'contents' => $this->branch |
|
| 59 | ]; |
|
| 60 | } |
|
| 61 | ||
| 62 | foreach ($this->translations as $translation) { |
|
| 63 | $data[] = [ |
|