Skip to content

Commit 31cb76b

Browse files
authored
Merge pull request #50 from offline-agency/analysis-VraAaP
Apply fixes from StyleCI
2 parents 28ef53d + 1169428 commit 31cb76b

File tree

8 files changed

+278
-278
lines changed

8 files changed

+278
-278
lines changed

src/Entities/Acquisti.php

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -8,81 +8,81 @@
88

99
class Acquisti extends FattureInCloud
1010
{
11-
/**
12-
* @param array $data
13-
* @return mixed|string
14-
*
15-
* @throws Exception
16-
*/
17-
public function lista($data = [])
18-
{
19-
Request::lista($data);
11+
/**
12+
* @param array $data
13+
* @return mixed|string
14+
*
15+
* @throws Exception
16+
*/
17+
public function lista($data = [])
18+
{
19+
Request::lista($data);
2020

21-
return $this->auth->post('acquisti/lista', $data);
22-
}
21+
return $this->auth->post('acquisti/lista', $data);
22+
}
2323

24-
/**
25-
* @param array $data
26-
* @return mixed|string
27-
*
28-
* @throws Exception
29-
*/
30-
public function dettagli($data = [])
31-
{
32-
Request::dettagli($data);
24+
/**
25+
* @param array $data
26+
* @return mixed|string
27+
*
28+
* @throws Exception
29+
*/
30+
public function dettagli($data = [])
31+
{
32+
Request::dettagli($data);
3333

34-
return $this->auth->post('acquisti/dettagli', $data);
35-
}
34+
return $this->auth->post('acquisti/dettagli', $data);
35+
}
3636

37-
/**
38-
* @param array $data
39-
* @return mixed|string
40-
*
41-
* @throws Exception
42-
*/
43-
public function nuovo($data = [])
44-
{
45-
Request::nuovo($data);
37+
/**
38+
* @param array $data
39+
* @return mixed|string
40+
*
41+
* @throws Exception
42+
*/
43+
public function nuovo($data = [])
44+
{
45+
Request::nuovo($data);
4646

47-
return $this->auth->post('acquisti/nuovo', $data);
48-
}
47+
return $this->auth->post('acquisti/nuovo', $data);
48+
}
4949

50-
/**
51-
* @param array $data
52-
* @return mixed|string
53-
*
54-
* @throws Exception
55-
*/
56-
public function modifica($data = [])
57-
{
58-
Request::modifica($data);
50+
/**
51+
* @param array $data
52+
* @return mixed|string
53+
*
54+
* @throws Exception
55+
*/
56+
public function modifica($data = [])
57+
{
58+
Request::modifica($data);
5959

60-
return $this->auth->post('acquisti/modifica', $data);
61-
}
60+
return $this->auth->post('acquisti/modifica', $data);
61+
}
6262

63-
/**
64-
* @param array $data
65-
* @return mixed|string
66-
*
67-
* @throws Exception
68-
*/
69-
public function elimina($data = [])
70-
{
71-
Request::elimina($data);
63+
/**
64+
* @param array $data
65+
* @return mixed|string
66+
*
67+
* @throws Exception
68+
*/
69+
public function elimina($data = [])
70+
{
71+
Request::elimina($data);
7272

73-
return $this->auth->post('acquisti/elimina', $data);
74-
}
73+
return $this->auth->post('acquisti/elimina', $data);
74+
}
7575

76-
/**
77-
* @param array $data
78-
* @return mixed|string
79-
*
80-
* @throws Exception
81-
*/
82-
public function info($data = [])
83-
{
84-
Request::info($data);
76+
/**
77+
* @param array $data
78+
* @return mixed|string
79+
*
80+
* @throws Exception
81+
*/
82+
public function info($data = [])
83+
{
84+
Request::info($data);
8585

86-
return $this->auth->post('acquisti/info', $data);
87-
}
86+
return $this->auth->post('acquisti/info', $data);
87+
}
8888
}

src/Entities/Corrispettivi.php

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -7,81 +7,81 @@
77

88
class Corrispettivi extends FattureInCloud
99
{
10-
/**
11-
* @param array $data
12-
* @return mixed|string
13-
*
14-
* @throws Exception
15-
*/
16-
public function lista($data = [])
17-
{
18-
Request::lista($data);
10+
/**
11+
* @param array $data
12+
* @return mixed|string
13+
*
14+
* @throws Exception
15+
*/
16+
public function lista($data = [])
17+
{
18+
Request::lista($data);
1919

20-
return $this->auth->post('corrispettivi/lista', $data);
21-
}
20+
return $this->auth->post('corrispettivi/lista', $data);
21+
}
2222

23-
/**
24-
* @param array $data
25-
* @return mixed|string
26-
*
27-
* @throws Exception
28-
*/
29-
public function dettagli($data = [])
30-
{
31-
Request::dettagli($data);
23+
/**
24+
* @param array $data
25+
* @return mixed|string
26+
*
27+
* @throws Exception
28+
*/
29+
public function dettagli($data = [])
30+
{
31+
Request::dettagli($data);
3232

33-
return $this->auth->post('corrispettivi/dettagli', $data);
34-
}
33+
return $this->auth->post('corrispettivi/dettagli', $data);
34+
}
3535

36-
/**
37-
* @param array $data
38-
* @return mixed|string
39-
*
40-
* @throws Exception
41-
*/
42-
public function nuovo($data = [])
43-
{
44-
Request::nuovo($data);
36+
/**
37+
* @param array $data
38+
* @return mixed|string
39+
*
40+
* @throws Exception
41+
*/
42+
public function nuovo($data = [])
43+
{
44+
Request::nuovo($data);
4545

46-
return $this->auth->post('corrispettivi/nuovo', $data);
47-
}
46+
return $this->auth->post('corrispettivi/nuovo', $data);
47+
}
4848

49-
/**
50-
* @param array $data
51-
* @return mixed|string
52-
*
53-
* @throws Exception
54-
*/
55-
public function modifica($data = [])
56-
{
57-
Request::modifica($data);
49+
/**
50+
* @param array $data
51+
* @return mixed|string
52+
*
53+
* @throws Exception
54+
*/
55+
public function modifica($data = [])
56+
{
57+
Request::modifica($data);
5858

59-
return $this->auth->post('corrispettivi/modifica', $data);
60-
}
59+
return $this->auth->post('corrispettivi/modifica', $data);
60+
}
6161

62-
/**
63-
* @param array $data
64-
* @return mixed|string
65-
*
66-
* @throws Exception
67-
*/
68-
public function elimina($data = [])
69-
{
70-
Request::elimina($data);
62+
/**
63+
* @param array $data
64+
* @return mixed|string
65+
*
66+
* @throws Exception
67+
*/
68+
public function elimina($data = [])
69+
{
70+
Request::elimina($data);
7171

72-
return $this->auth->post('corrispettivi/elimina', $data);
73-
}
72+
return $this->auth->post('corrispettivi/elimina', $data);
73+
}
7474

75-
/**
76-
* @param array $data
77-
* @return mixed|string
78-
*
79-
* @throws Exception
80-
*/
81-
public function info($data = [])
82-
{
83-
Request::info($data);
75+
/**
76+
* @param array $data
77+
* @return mixed|string
78+
*
79+
* @throws Exception
80+
*/
81+
public function info($data = [])
82+
{
83+
Request::info($data);
8484

85-
return $this->auth->post('corrispettivi/info', $data);
86-
}
85+
return $this->auth->post('corrispettivi/info', $data);
86+
}
8787
}

src/Entities/Magazzino.php

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,29 @@
88

99
class Magazzino extends FattureInCloud
1010
{
11-
/**
12-
* @param array $data
13-
* @return mixed|string
14-
*
15-
* @throws Exception
16-
*/
17-
public function lista($data = [])
18-
{
19-
Request::lista($data);
11+
/**
12+
* @param array $data
13+
* @return mixed|string
14+
*
15+
* @throws Exception
16+
*/
17+
public function lista($data = [])
18+
{
19+
Request::lista($data);
2020

21-
return $this->auth->post('arrivimerce/lista', $data);
22-
}
21+
return $this->auth->post('arrivimerce/lista', $data);
22+
}
2323

24-
/**
25-
* @param array $data
26-
* @return mixed|string
27-
*
28-
* @throws Exception
29-
*/
30-
public function dettagli($data = [])
31-
{
32-
Request::dettagli($data);
24+
/**
25+
* @param array $data
26+
* @return mixed|string
27+
*
28+
* @throws Exception
29+
*/
30+
public function dettagli($data = [])
31+
{
32+
Request::dettagli($data);
3333

34-
return $this->auth->post('arrivimerce/dettaglio', $data);
35-
}
34+
return $this->auth->post('arrivimerce/dettaglio', $data);
35+
}
3636
}

0 commit comments

Comments
 (0)