Passed
Push — master ( d0f45d...fd4974 )
by F
03:21
created
src/Controllers/Address/TypeController.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /** @var  TypeRepository */
29 29
     private $typeRepository;
30 30
 
31
-    public function __construct(TypeRepository $typeRepo)
31
+    public function __construct (TypeRepository $typeRepo)
32 32
     {
33 33
         $this->typeRepository = $typeRepo;
34 34
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @return \Illuminate\View\View
42 42
      */
43
-    public function index(Request $request) : View
43
+    public function index (Request $request) : View
44 44
     {
45 45
         $types = $this->typeRepository->all();
46 46
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return \Illuminate\View\View
55 55
      */
56
-    public function create() : View
56
+    public function create () : View
57 57
     {
58 58
         return view('localisation::address.type.create');
59 59
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @return \Illuminate\Http\RedirectResponse
67 67
      */
68
-    public function store(CreateTypeRequest $request) : RedirectResponse
68
+    public function store (CreateTypeRequest $request) : RedirectResponse
69 69
     {
70 70
         $input = $request->all();
71 71
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return \Illuminate\View\View
85 85
      */
86
-    public function show($id) : View
86
+    public function show ($id) : View
87 87
     {
88 88
         $type = $this->typeRepository->find($id);
89 89
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      *
104 104
      * @return \Illuminate\View\View
105 105
      */
106
-    public function edit($id) : View
106
+    public function edit ($id) : View
107 107
     {
108 108
         $type = $this->typeRepository->find($id);
109 109
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      *
125 125
      * @return \Illuminate\Http\RedirectResponse
126 126
      */
127
-    public function update(UpdateTypeRequest $request, $id) : RedirectResponse
127
+    public function update (UpdateTypeRequest $request, $id) : RedirectResponse
128 128
     {
129 129
         $type = $this->typeRepository->find($id);
130 130
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      *
151 151
      * @return \Illuminate\Http\RedirectResponse
152 152
      */
153
-    public function destroy($id) : RedirectResponse
153
+    public function destroy ($id) : RedirectResponse
154 154
     {
155 155
         $type = $this->typeRepository->find($id);
156 156
 
Please login to merge, or discard this patch.