@@ 112-119 (lines=8) @@ | ||
109 | /** |
|
110 | * {@inheritDoc} |
|
111 | */ |
|
112 | protected function getDefaultRequestOptions(auth\interfaces\Token $token = null) : array |
|
113 | { |
|
114 | return array_merge_recursive(parent::getDefaultRequestOptions($token), [ |
|
115 | 'headers' => [ |
|
116 | 'Accept' => 'application/vnd.github.v3+json' |
|
117 | ] |
|
118 | ]); |
|
119 | } |
|
120 | } |
|
121 |
@@ 53-60 (lines=8) @@ | ||
50 | /** |
|
51 | * {@inheritDoc} |
|
52 | */ |
|
53 | protected function getDefaultRequestOptions(auth\interfaces\Token $token = null) : array |
|
54 | { |
|
55 | return array_merge_recursive(parent::getDefaultRequestOptions($token), [ |
|
56 | 'headers' => [ |
|
57 | 'x-li-format' => 'json' |
|
58 | ] |
|
59 | ]); |
|
60 | } |
|
61 | } |
|
62 |